From a43786872722f9259fba94096eaa0c6f5ee0c4de Mon Sep 17 00:00:00 2001 From: Jake Fink Date: Fri, 26 Jul 2024 14:23:20 -0400 Subject: [PATCH] move initialization of UV service dep (#10290) --- apps/cli/src/service-container.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cli/src/service-container.ts b/apps/cli/src/service-container.ts index cc53302732..f9bff5c6d0 100644 --- a/apps/cli/src/service-container.ts +++ b/apps/cli/src/service-container.ts @@ -625,6 +625,8 @@ export class ServiceContainer { const lockedCallback = async (userId?: string) => await this.cryptoService.clearStoredUserKey(KeySuffixOptions.Auto); + this.userVerificationApiService = new UserVerificationApiService(this.apiService); + this.userVerificationService = new UserVerificationService( this.cryptoService, this.accountService, @@ -729,8 +731,6 @@ export class ServiceContainer { this.auditService = new AuditService(this.cryptoFunctionService, this.apiService); - this.userVerificationApiService = new UserVerificationApiService(this.apiService); - this.eventUploadService = new EventUploadService( this.apiService, this.stateProvider,