mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
logout async
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 7112911cb8...799c90af17
@@ -122,7 +122,7 @@ export default class MainBackground {
|
||||
this.tokenService = new TokenService(this.storageService);
|
||||
this.appIdService = new AppIdService(this.storageService);
|
||||
this.apiService = new ApiService(this.tokenService, this.platformUtilsService,
|
||||
(expired: boolean) => this.logout(expired));
|
||||
async (expired: boolean) => await this.logout(expired));
|
||||
this.environmentService = new EnvironmentService(this.apiService, this.storageService);
|
||||
this.userService = new UserService(this.tokenService, this.storageService);
|
||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||
@@ -139,7 +139,7 @@ export default class MainBackground {
|
||||
});
|
||||
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
|
||||
this.folderService, this.cipherService, this.cryptoService, this.collectionService,
|
||||
this.storageService, this.messagingService, (expired: boolean) => this.logout(expired));
|
||||
this.storageService, this.messagingService, async (expired: boolean) => await this.logout(expired));
|
||||
this.passwordGenerationService = new PasswordGenerationService(this.cryptoService, this.storageService);
|
||||
this.totpService = new TotpService(this.storageService, cryptoFunctionService);
|
||||
this.autofillService = new AutofillService(this.cipherService, this.tokenService,
|
||||
|
||||
Reference in New Issue
Block a user