Browse Source

Refactoring

pull/2631/head
Thomas 2 years ago
parent
commit
c425619ea6
  1. 6
      apps/api/src/services/market-data/market-data.service.ts

6
apps/api/src/services/market-data/market-data.service.ts

@ -74,7 +74,8 @@ export class MarketDataService {
} }
], ],
where: { where: {
OR: uniqueAssets.map(({ dataSource, symbol }) => ({ OR: uniqueAssets.map(({ dataSource, symbol }) => {
return {
AND: [ AND: [
{ {
dataSource, dataSource,
@ -82,7 +83,8 @@ export class MarketDataService {
date: dateQuery date: dateQuery
} }
] ]
})) };
})
} }
}); });
} }

Loading…
Cancel
Save