Browse Source

MR - Implement review feedback

pull/3858/head
Daniel Devaud 11 months ago
committed by Thomas Kaul
parent
commit
501199de95
  1. 10
      apps/api/src/services/data-provider/data-provider.service.ts

10
apps/api/src/services/data-provider/data-provider.service.ts

@ -666,11 +666,11 @@ export class DataProviderService {
} = {}; } = {};
for (const date in rootData) { for (const date in rootData) {
data[date] = { if (rootData[date].marketPrice >= 0) {
marketPrice: rootData[date].marketPrice data[date] = {
? new Big(factor).mul(rootData[date].marketPrice).toNumber() marketPrice: rootData[date].marketPrice
: null };
}; }
} }
return data; return data;

Loading…
Cancel
Save