diff --git a/common/src/services/stateMigration.service.ts b/common/src/services/stateMigration.service.ts index 584173d448..2b299898a3 100644 --- a/common/src/services/stateMigration.service.ts +++ b/common/src/services/stateMigration.service.ts @@ -373,7 +373,7 @@ export class StateMigrationService< legacyEtmKey: null, organizationKeys: { decrypted: null, - encrypted: await this.get(v1Keys.encOrgKeys + userId), + encrypted: await this.get(v1Keys.encOrgKeys), }, privateKey: { decrypted: null, @@ -381,7 +381,7 @@ export class StateMigrationService< }, providerKeys: { decrypted: null, - encrypted: await this.get(v1Keys.encProviderKeys + userId), + encrypted: await this.get(v1Keys.encProviderKeys), }, publicKey: null, },