From 6171aa89a897dcf9e1a31ed128a24283202ca586 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 11 Nov 2021 14:37:16 +0100 Subject: [PATCH] Add required KeyConnectorService to vaultTimeoutService (#1294) --- src/app/services/services.module.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 76db14b830..336d911d7d 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -128,11 +128,11 @@ searchService = new SearchService(cipherService, consoleLogService, i18nService) const policyService = new PolicyService(userService, storageService, apiService); const sendService = new SendService(cryptoService, userService, apiService, fileUploadService, storageService, i18nService, cryptoFunctionService); -const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService, - cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService, - policyService, null, async () => messagingService.send('logout', { expired: false })); const keyConnectorService = new KeyConnectorService(storageService, userService, cryptoService, apiService, environmentService, tokenService, consoleLogService); +const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService, + cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService, + policyService, keyConnectorService, null, async () => messagingService.send('logout', { expired: false })); const syncService = new SyncService(userService, apiService, settingsService, folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService, sendService, consoleLogService, tokenService, keyConnectorService,