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
1 changed files with 2 additions and 2 deletions

View File

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