From c0860d1853d1b997c0a2480c4356ad7746373d2c Mon Sep 17 00:00:00 2001 From: Sayed Murtadha Ahmed Date: Tue, 18 Feb 2025 14:02:59 +0300 Subject: [PATCH] feat(gh-4327): add tag ids to export --- apps/api/src/app/export/export.service.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/api/src/app/export/export.service.ts b/apps/api/src/app/export/export.service.ts index 1ff18ce9c..9c0c7a6fb 100644 --- a/apps/api/src/app/export/export.service.ts +++ b/apps/api/src/app/export/export.service.ts @@ -73,7 +73,8 @@ export class ExportService { quantity, SymbolProfile, type, - unitPrice + unitPrice, + tags }) => { return { accountId, @@ -92,7 +93,8 @@ export class ExportService { type === 'ITEM' || type === 'LIABILITY' ? SymbolProfile.name - : SymbolProfile.symbol + : SymbolProfile.symbol, + tags: tags.map(({ id: tagId }) => tagId) }; } ),