1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

removed duplicate activeUserId

This commit is contained in:
gbubemismith
2024-11-07 10:22:08 -05:00
parent 3865ee60e1
commit 735d009fd5

View File

@@ -103,10 +103,9 @@ export class IndividualVaultExportService
await Promise.all(promises);
const activeUserId = await firstValueFrom(
this.accountService.activeAccount$.pipe(map((a) => a?.id)),
const userKey = await this.keyService.getUserKeyWithLegacySupport(
await firstValueFrom(this.activeUserId$),
);
const userKey = await this.keyService.getUserKeyWithLegacySupport(activeUserId);
const encKeyValidation = await this.encryptService.encrypt(Utils.newGuid(), userKey);
const jsonDoc: BitwardenEncryptedIndividualJsonExport = {