From 2a93b85e8835594ae5604f3d918245c1e0257ad7 Mon Sep 17 00:00:00 2001 From: Todd Martin Date: Fri, 28 Nov 2025 17:31:29 -0500 Subject: [PATCH] Added DI for LogService --- apps/desktop/src/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index fbb83a1bf56..d2b134e86a4 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -132,7 +132,11 @@ export class Main { this.logService = new ElectronLogMainService(null, app.getPath("userData")); const storageDefaults: any = {}; - this.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults); + this.storageService = new ElectronStorageService( + this.logService, + app.getPath("userData"), + storageDefaults, + ); this.memoryStorageService = new MemoryStorageService(); this.memoryStorageForStateProviders = new SerializedMemoryStorageService(); const storageServiceProvider = new StorageServiceProvider(