Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix countries in symbol profile overrides (#936)
Thomas Kaulf5819cc39999
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0723c83a9a..1c03e17d65 100644--- a/CHANGELOG.md+++ b/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### Addeddiff --git a/apps/api/src/services/symbol-profile.service.ts b/apps/api/src/services/symbol-profile.service.tsindex 8b119de788..5c8839ebf5 100644--- a/apps/api/src/services/symbol-profile.service.ts+++ b/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 =