diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index fd77baf77..830a4bbe9 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -1727,6 +1727,7 @@ export class PortfolioService { currentAccounts = await this.accountService.getAccounts(userId); } else if (filters.length === 1 && filters[0].type === 'ACCOUNT') { currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: filters[0].id } }); } else { @@ -1737,6 +1738,7 @@ export class PortfolioService { ); currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: { in: accountIds } } }); }