diff --git a/apps/api/src/app/export/export.service.ts b/apps/api/src/app/export/export.service.ts index ac6a861be..ebf0845cc 100644 --- a/apps/api/src/app/export/export.service.ts +++ b/apps/api/src/app/export/export.service.ts @@ -22,7 +22,8 @@ export class ExportService { id: true, isDefault: true, isExcluded: true, - name: true + name: true, + platformId: true }, where: { userId } }); diff --git a/libs/common/src/lib/interfaces/export.interface.ts b/libs/common/src/lib/interfaces/export.interface.ts index cd47a8f0b..7b7470717 100644 --- a/libs/common/src/lib/interfaces/export.interface.ts +++ b/libs/common/src/lib/interfaces/export.interface.ts @@ -5,10 +5,7 @@ export interface Export { date: string; version: string; }; - accounts: Omit< - Account, - 'createdAt' | 'platformId' | 'updatedAt' | 'userId' - >[]; + accounts: Omit[]; activities: (Omit< Order, | 'accountUserId'