We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5445c4 commit cbb82faCopy full SHA for cbb82fa
src/api/organizations/getInviteByCodeApi.ts
@@ -15,13 +15,6 @@ const getInviteByCodeApi = ({
15
url: apiUrl(endpoints.organizations.reGenerateToken(username)),
16
method: httpMethods.put,
17
authenticationToken,
18
- }).catch((res) => {
19
- if (process.env.REACT_APP_MOCKAPI_RESPONSE) {
20
- res = {
21
- data: mockApi.myOrganizationMockResponse.myOrganizationInviteMockResponse,
22
- };
23
- }
24
- return res;
25
});
26
27
export default getInviteByCodeApi;
0 commit comments