mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
export csv fix
This commit is contained in:
@@ -36,7 +36,7 @@ export class ExportCommand {
|
|||||||
const keyHash = await this.cryptoService.hashPassword(password, key);
|
const keyHash = await this.cryptoService.hashPassword(password, key);
|
||||||
const storedKeyHash = await this.cryptoService.getKeyHash();
|
const storedKeyHash = await this.cryptoService.getKeyHash();
|
||||||
if (storedKeyHash != null && keyHash != null && storedKeyHash === keyHash) {
|
if (storedKeyHash != null && keyHash != null && storedKeyHash === keyHash) {
|
||||||
const csv = await this.exportService.getCsv();
|
const csv = await this.exportService.getExport('csv');
|
||||||
return await this.saveFile(csv, cmd);
|
return await this.saveFile(csv, cmd);
|
||||||
} else {
|
} else {
|
||||||
return Response.error('Invalid master password.');
|
return Response.error('Invalid master password.');
|
||||||
|
|||||||
Reference in New Issue
Block a user