Browse Source

Handle issue with account.findMany()

where: { id: { in: [ null ] } }
pull/2598/head
Thomas 2 years ago
parent
commit
85757a4347
  1. 6
      apps/api/src/app/portfolio/portfolio.service.ts

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

@ -1892,7 +1892,11 @@ export class PortfolioService {
});
} else {
const accountIds = uniq(
orders.map(({ accountId }) => {
orders
.filter(({ accountId }) => {
return accountId;
})
.map(({ accountId }) => {
return accountId;
})
);

Loading…
Cancel
Save