Browse Source
Bugfix/handle exception in country weightings parsing of FMP service (#7544)
* Handle exception in country weightings parsing
* Update changelog
pull/7549/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts
|
|
|
@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
- Guarded the system tags against deletion and renaming in the tag management of the admin control panel |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Handled an exception in the country weightings parsing of the _Financial Modeling Prep_ service |
|
|
|
|
|
|
|
## 3.42.0 - 2026-08-04 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
@ -178,7 +178,7 @@ export class FinancialModelingPrepService |
|
|
|
aliases: FinancialModelingPrepService.countriesMapping, |
|
|
|
name: countryName |
|
|
|
}), |
|
|
|
weight: parseFloat(weightPercentage.slice(0, -1)) / 100 |
|
|
|
weight: parseFloat(`${weightPercentage}`) / 100 |
|
|
|
}; |
|
|
|
}); |
|
|
|
|
|
|
|
|