Browse Source
Bugfix/exclude valueInBaseCurrency of top holdings in public portfolio endpoint (#7155)
* Exclude valueInBaseCurrency
* Update changelog
pull/7157/head^2
Thomas Kaul
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/app/endpoints/public/public.controller.ts
|
|
|
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed an issue in the public access for portfolio sharing that exposed absolute values of the top holdings of ETFs |
|
|
|
- Fixed the time zone handling in the `api` test suite for deterministic execution in `UTC` |
|
|
|
|
|
|
|
## 3.17.0 - 2026-06-26 |
|
|
|
|
|
|
|
@ -201,6 +201,11 @@ export class PublicController { |
|
|
|
portfolioPosition.assetProfile.assetSubClass === AssetSubClass.CASH |
|
|
|
? portfolioPosition.assetProfile.assetSubClassLabel |
|
|
|
: undefined, |
|
|
|
holdings: portfolioPosition.assetProfile.holdings?.map( |
|
|
|
({ allocationInPercentage, name }) => { |
|
|
|
return { allocationInPercentage, name }; |
|
|
|
} |
|
|
|
), |
|
|
|
...(hasDetails |
|
|
|
? {} |
|
|
|
: { |
|
|
|
|