Browse Source

Bugfix/fix countries in symbol profile overrides (#936)

* Fix countries

* Update changelog
pull/939/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
f5819cc399
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      apps/api/src/services/symbol-profile.service.ts

4
CHANGELOG.md

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Skipped data enhancer (_Trackinsight_) if data is inaccurate
### Fixed
- Fixed an issue with countries in the symbol profile overrides
## 1.149.0 - 16.05.2022
### Added

2
apps/api/src/services/symbol-profile.service.ts

@ -71,7 +71,7 @@ export class SymbolProfileService {
item.assetSubClass =
item.SymbolProfileOverrides.assetSubClass ?? item.assetSubClass;
item.countries =
(item.SymbolProfileOverrides.sectors as unknown as Country[]) ??
(item.SymbolProfileOverrides.countries as unknown as Country[]) ??
item.countries;
item.name = item.SymbolProfileOverrides?.name ?? item.name;
item.sectors =

Loading…
Cancel
Save