mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 01:53:23 +00:00
Added DI for LogService
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user