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
  • Loading branch information
hoangdat committed Jan 9, 2024
1 parent e8e7979 commit e9a43fc
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 e9a43fc

Please sign in to comment.