Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/fix public page by including markets data (#3263)

Thomas Kaul45340b581f4b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbb92106f6..68a85fd95b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `Nx` from version `18.1.2` to `18.2.3`
- Upgraded `prisma` from version `5.11.0` to `5.12.1`
+### Fixed
+
+- Fixed an issue in the public page
+
## 2.71.0 - 2024-04-07
### Added
diff --git a/apps/api/src/app/portfolio/portfolio.controller.ts b/apps/api/src/app/portfolio/portfolio.controller.ts
index 0ae596d84a..efb9318d70 100644
--- a/apps/api/src/app/portfolio/portfolio.controller.ts
+++ b/apps/api/src/app/portfolio/portfolio.controller.ts
@@ -539,7 +539,8 @@ export class PortfolioController {
const { holdings } = await this.portfolioService.getDetails({
filters: [{ id: 'EQUITY', type: 'ASSET_CLASS' }],
impersonationId: access.userId,
- userId: user.id
+ userId: user.id,
+ withMarkets: true
});
const portfolioPublicDetails: PortfolioPublicDetails = {