dont set setCryptoKeys to null
This commit is contained in:
parent
5994637522
commit
b91b5b5be0
|
@ -157,7 +157,7 @@ export default class MainBackground {
|
|||
this.userService = new UserService(this.tokenService, this.storageService);
|
||||
this.authService = new AuthService(this.cryptoService, this.apiService, this.userService,
|
||||
this.tokenService, this.appIdService, this.i18nService, this.platformUtilsService,
|
||||
this.messagingService, this.vaultTimeoutService, null);
|
||||
this.messagingService, this.vaultTimeoutService);
|
||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||
this.cipherService = new CipherService(this.cryptoService, this.userService, this.settingsService,
|
||||
this.apiService, this.storageService, this.i18nService, () => this.searchService);
|
||||
|
|
|
@ -68,7 +68,7 @@ export const authService = new AuthService(getBgService<CryptoService>('cryptoSe
|
|||
getBgService<ApiService>('apiService')(), getBgService<UserService>('userService')(),
|
||||
getBgService<TokenService>('tokenService')(), getBgService<AppIdService>('appIdService')(),
|
||||
getBgService<I18nService>('i18nService')(), getBgService<PlatformUtilsService>('platformUtilsService')(),
|
||||
messagingService, getBgService<VaultTimeoutService>('vaultTimeoutService')(), null);
|
||||
messagingService, getBgService<VaultTimeoutService>('vaultTimeoutService')());
|
||||
export const searchService = new PopupSearchService(getBgService<SearchService>('searchService')(),
|
||||
getBgService<CipherService>('cipherService')());
|
||||
|
||||
|
|
Loading…
Reference in New Issue