From bfbe45025609b523df48cad98b9036441b14f30f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 5 Jul 2018 15:29:40 -0400 Subject: [PATCH] export csv fix --- src/commands/export.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/export.command.ts b/src/commands/export.command.ts index c2e5f4b17f..22a0ed33e7 100644 --- a/src/commands/export.command.ts +++ b/src/commands/export.command.ts @@ -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.');