From b91b5b5be02620928274a10b8332030c889789a1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 15 Sep 2020 16:27:28 -0400 Subject: [PATCH] dont set setCryptoKeys to null --- src/background/main.background.ts | 2 +- src/popup/services/services.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/main.background.ts b/src/background/main.background.ts index e4ac82afd5..a90f029536 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -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); diff --git a/src/popup/services/services.module.ts b/src/popup/services/services.module.ts index c4acc1e40c..ab52d38c27 100644 --- a/src/popup/services/services.module.ts +++ b/src/popup/services/services.module.ts @@ -68,7 +68,7 @@ export const authService = new AuthService(getBgService('cryptoSe getBgService('apiService')(), getBgService('userService')(), getBgService('tokenService')(), getBgService('appIdService')(), getBgService('i18nService')(), getBgService('platformUtilsService')(), - messagingService, getBgService('vaultTimeoutService')(), null); + messagingService, getBgService('vaultTimeoutService')()); export const searchService = new PopupSearchService(getBgService('searchService')(), getBgService('cipherService')());