Skip to content

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

Bugfix/add missing data source in activities import (#1930)

Thomas Kaul6a1fad611cf7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 954887ea4b..5942af6d8d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `class-validator` from version `0.13.1` to `0.14.0`
- Upgraded `prisma` from version `4.12.0` to `4.13.0`
+### Fixed
+
+- Added the missing `dataSource` attribute to the activities import
+
## 1.265.0 - 2023-05-01
### Changed
diff --git a/apps/client/src/app/services/import-activities.service.ts b/apps/client/src/app/services/import-activities.service.ts
index 487a47a6c1..06d33456c2 100644
--- a/apps/client/src/app/services/import-activities.service.ts
+++ b/apps/client/src/app/services/import-activities.service.ts
@@ -138,6 +138,7 @@ export class ImportActivitiesService {
unitPrice,
updateAccountBalance,
currency: SymbolProfile.currency,
+ dataSource: SymbolProfile.dataSource,
date: date.toString(),
symbol: SymbolProfile.symbol
};