Skip to content

Commit cbb82fa

Browse files
remove dead code
1 parent d5445c4 commit cbb82fa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/api/organizations/getInviteByCodeApi.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ const getInviteByCodeApi = ({
1515
url: apiUrl(endpoints.organizations.reGenerateToken(username)),
1616
method: httpMethods.put,
1717
authenticationToken,
18-
}).catch((res) => {
19-
if (process.env.REACT_APP_MOCKAPI_RESPONSE) {
20-
res = {
21-
data: mockApi.myOrganizationMockResponse.myOrganizationInviteMockResponse,
22-
};
23-
}
24-
return res;
2518
});
2619

2720
export default getInviteByCodeApi;

0 commit comments

Comments
 (0)