Feature/improve import validation (#2305)

* Improve import validation

* Update changelog

Co-authored-by: httpiga <36515569+httpiga@users.noreply.github.com>
pull/2294/head^2
Thomas Kaul 1 year ago committed by GitHub
parent 1f46a6b6f3
commit c6aa06b933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the validation in the activities import
- Refreshed the cryptocurrencies list
## 1.305.0 - 2023-09-03

@ -566,7 +566,7 @@ export class ImportService {
])
)?.[symbol];
if (!assetProfile) {
if (!assetProfile?.name) {
throw new Error(
`activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")`
);

Loading…
Cancel
Save