Browse Source

Added ToDo for date in queries

pull/5027/head
Daniel Devaud 2 years ago
parent
commit
9ad0cfae17
  1. 2
      apps/api/src/app/portfolio/portfolio-calculator.ts

2
apps/api/src/app/portfolio/portfolio-calculator.ts

@ -215,6 +215,7 @@ export class PortfolioCalculator {
await this.currentRateService.getValues({ await this.currentRateService.getValues({
currencies, currencies,
dataGatheringItems, dataGatheringItems,
// TODO Refactor in to lte & gte
dateQuery: { dateQuery: {
in: dates in: dates
}, },
@ -402,6 +403,7 @@ export class PortfolioCalculator {
} = await this.currentRateService.getValues({ } = await this.currentRateService.getValues({
currencies, currencies,
dataGatheringItems, dataGatheringItems,
// TODO Refactor to lte & gte
dateQuery: { dateQuery: {
in: dates in: dates
}, },

Loading…
Cancel
Save