From 0e8e9e9c3296266dc0133c04cd50da9cf073146e Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sun, 17 Sep 2023 18:01:10 +0200 Subject: [PATCH] Fix export for liabilities --- apps/api/src/app/export/export.service.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/api/src/app/export/export.service.ts b/apps/api/src/app/export/export.service.ts index fb7e09d41..f717a3ead 100644 --- a/apps/api/src/app/export/export.service.ts +++ b/apps/api/src/app/export/export.service.ts @@ -77,7 +77,10 @@ export class ExportService { currency: SymbolProfile.currency, dataSource: SymbolProfile.dataSource, date: date.toISOString(), - symbol: type === 'ITEM' ? SymbolProfile.name : SymbolProfile.symbol + symbol: + type === 'FEE' || type === 'ITEM' || type === 'LIABILITY' + ? SymbolProfile.name + : SymbolProfile.symbol }; } )