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. 12
      apps/api/src/app/endpoints/ai/ai.service.ts

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

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