1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

[bug] Assign client specific account settings during migration (#653)

* [bug] Assign client specific account settings during migration

* [refactor] Write State type arguements in consistent order

* [style] Ran prettier
This commit is contained in:
Addison Beck
2022-02-03 13:32:42 -05:00
committed by GitHub
parent ca5c6a9c32
commit 067cd1e0e1
5 changed files with 103 additions and 86 deletions

View File

@@ -360,7 +360,7 @@ import { StateFactory } from "jslib-common/factories/stateFactory";
new StateMigrationService(
storageService,
secureStorageService,
new GlobalStateFactory(GlobalState)
new StateFactory(GlobalState, Account)
),
deps: [StorageServiceAbstraction, "SECURE_STORAGE"],
},