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

Fix storage keys in v1 migration (#696)

This commit is contained in:
Thomas Rittson
2022-03-02 07:44:14 +10:00
committed by GitHub
parent d81eb7ddae
commit c1a37eab13

View File

@@ -373,7 +373,7 @@ export class StateMigrationService<
legacyEtmKey: null,
organizationKeys: {
decrypted: null,
encrypted: await this.get<any>(v1Keys.encOrgKeys + userId),
encrypted: await this.get<any>(v1Keys.encOrgKeys),
},
privateKey: {
decrypted: null,
@@ -381,7 +381,7 @@ export class StateMigrationService<
},
providerKeys: {
decrypted: null,
encrypted: await this.get<any>(v1Keys.encProviderKeys + userId),
encrypted: await this.get<any>(v1Keys.encProviderKeys),
},
publicKey: null,
},