Browse Source

Refactor deprecated portfolio position attributes to asset profile

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

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

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

Loading…
Cancel
Save