diff --git a/CHANGELOG.md b/CHANGELOG.md index 87b56c7d4..c7aef5f7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed the missing mapping for Czech Republic and Turkey in the data enhancer for asset profile data via _Yahoo Finance_ - Resolved an error when fetching dividends from _Yahoo Finance_ for date ranges without events +### Fixed + +- Fixed the currency of the cash balance update when creating an activity to use the activity's currency instead of the asset profile's currency + ## 3.49.0 - 2026-08-12 ### Changed diff --git a/apps/api/src/app/activities/activities.service.ts b/apps/api/src/app/activities/activities.service.ts index fbcb2a6db..539e68f67 100644 --- a/apps/api/src/app/activities/activities.service.ts +++ b/apps/api/src/app/activities/activities.service.ts @@ -308,7 +308,8 @@ export class ActivitiesService { accountId, userId, amount: amount.toNumber(), - currency: data.SymbolProfile.connectOrCreate.create.currency, + currency: + data.currency ?? data.SymbolProfile.connectOrCreate.create.currency, date: data.date as Date }); }