Browse Source

feat(api): implement getDataSourceForExchangeRates

pull/5650/head
KenTandrian 1 month ago
parent
commit
31a60496ec
  1. 3
      apps/api/src/app/portfolio/portfolio.service.ts

3
apps/api/src/app/portfolio/portfolio.service.ts

@ -361,7 +361,8 @@ export class PortfolioService {
countries: [], countries: [],
createdAt: new Date(balanceItem.date), createdAt: new Date(balanceItem.date),
currency: account.currency, currency: account.currency,
dataSource: 'YAHOO', dataSource:
this.dataProviderService.getDataSourceForExchangeRates(),
holdings: [], holdings: [],
id: account.currency, id: account.currency,
isActive: true, isActive: true,

Loading…
Cancel
Save