Browse Source

3148 - add user currency to export

pull/3194/head
Christoph Califice 1 year ago
parent
commit
3540d6dd64
  1. 5
      apps/api/src/app/export/export.service.ts
  2. 1
      libs/common/src/lib/interfaces/export.interface.ts

5
apps/api/src/app/export/export.service.ts

@ -95,7 +95,10 @@ export class ExportService {
: SymbolProfile.symbol
};
}
)
),
user: {
settings: { currency: userCurrency }
}
};
}
}

1
libs/common/src/lib/interfaces/export.interface.ts

@ -16,4 +16,5 @@ export interface Export {
| 'updatedAt'
| 'userId'
> & { date: string; symbol: string })[];
user: { settings: { currency: string } };
}

Loading…
Cancel
Save