Browse Source

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

* Include markets data

* Update changelog
pull/3270/head
Thomas Kaul 9 months ago
committed by GitHub
parent
commit
45340b581f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 3
      apps/api/src/app/portfolio/portfolio.controller.ts

4
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

3
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 = {

Loading…
Cancel
Save