1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

export csv fix

This commit is contained in:
Kyle Spearrin 2018-07-05 15:29:40 -04:00
parent 8c7f501142
commit bfbe450256

View File

@ -36,7 +36,7 @@ export class ExportCommand {
const keyHash = await this.cryptoService.hashPassword(password, key);
const storedKeyHash = await this.cryptoService.getKeyHash();
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);
} else {
return Response.error('Invalid master password.');