Browse Source

Handle issue with account.findMany()

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

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

@ -1892,9 +1892,13 @@ export class PortfolioService {
});
} else {
const accountIds = uniq(
orders.map(({ accountId }) => {
return accountId;
})
orders
.filter(({ accountId }) => {
return accountId;
})
.map(({ accountId }) => {
return accountId;
})
);
currentAccounts = await this.accountService.accounts({

Loading…
Cancel
Save