Browse Source

Refactor deprecated portfolio position attributes to asset profile

pull/6774/head
Thomas Kaul 1 month ago
parent
commit
1d2c3490b3
  1. 12
      apps/api/src/app/endpoints/ai/ai.service.ts

12
apps/api/src/app/endpoints/ai/ai.service.ts

@ -92,11 +92,13 @@ export class AiService {
.map( .map(
({ ({
allocationInPercentage, allocationInPercentage,
assetClass, assetProfile: {
assetSubClass, assetClass,
currency, assetSubClass,
name: label, currency,
symbol name: label,
symbol
}
}) => { }) => {
return AiService.HOLDINGS_TABLE_COLUMN_DEFINITIONS.reduce( return AiService.HOLDINGS_TABLE_COLUMN_DEFINITIONS.reduce(
(row, { key, name }) => { (row, { key, name }) => {

Loading…
Cancel
Save