Skip to content

Commit

Permalink
fix cors issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalydosos committed Dec 9, 2024
1 parent 6caeb16 commit cfaee48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/Middleware/Reauthentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const Reauthentication: Middleware = (response, request, isFromSequentialQueue)
MainQueue.replay(request);
return data;
}

return reauthenticate(request?.commandName)
.then((authenticateResponse) => {
if (isFromSequentialQueue || apiRequestType === CONST.API_REQUEST_TYPE.MAKE_REQUEST_WITH_SIDE_EFFECTS) {
Expand Down

0 comments on commit cfaee48

Please sign in to comment.