1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-27 10:23:48 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
},