Browse Source

Task/refactor deprecated portfolio position attributes to asset profile in AI service (#6774)

Refactor deprecated portfolio position attributes to asset profile
pull/6821/head^2
Thomas Kaul 4 weeks ago
committed by GitHub
parent
commit
15ba37e20c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/api/src/app/endpoints/ai/ai.service.ts

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

@ -101,11 +101,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