Skip to content

Commit

Permalink
[Hot-fix] Need to await for handling refresh token
Browse files Browse the repository at this point in the history
(cherry picked from commit e9a43fc)
  • Loading branch information
hoangdat committed Jan 10, 2024
1 parent f71192f commit cb7866a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ class AuthorizationInterceptors extends QueuedInterceptorsWrapper {
log('AuthorizationInterceptors::onError:>> _validateToRefreshToken');

if (PlatformInfo.isIOS) {
_handleRefreshTokenOnIOSPlatform();
await _handleRefreshTokenOnIOSPlatform();
} else {
_handleRefreshTokenOnOtherPlatform();
await _handleRefreshTokenOnOtherPlatform();
}

if (extraInRequest.containsKey(FileUploader.uploadAttachmentExtraKey)) {
Expand Down

0 comments on commit cb7866a

Please sign in to comment.