mirror of
https://github.com/bitwarden/browser
synced 2026-02-21 20:04:02 +00:00
updated to use sdk function without prociding the key
This commit is contained in:
@@ -153,11 +153,9 @@ export class OrganizationVaultExportService
|
||||
.forEach(async (c) => {
|
||||
const cipher = new Cipher(new CipherData(c));
|
||||
exportPromises.push(
|
||||
this.cipherService
|
||||
.decryptCipherWithSdkOrLegacy(cipher, activeUserId)
|
||||
.then((decCipher) => {
|
||||
decCiphers.push(decCipher);
|
||||
}),
|
||||
this.cipherService.decrypt(cipher, activeUserId).then((decCipher) => {
|
||||
decCiphers.push(decCipher);
|
||||
}),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user