Browse Source

Merge branch 'main' into feat/GF-3866

pull/3867/head
Thomas Kaul 11 months ago
committed by GitHub
parent
commit
a5ce16e2c3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 10
      apps/api/src/services/data-provider/data-provider.service.ts

4
CHANGELOG.md

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Set up a git-hook via `husky` to lint and format the changes before a commit - Set up a git-hook via `husky` to lint and format the changes before a commit
### Fixed
- Handled an exception in the historical market data gathering of derived currencies
## 2.112.0 - 2024-10-03 ## 2.112.0 - 2024-10-03
### Added ### Added

10
apps/api/src/services/data-provider/data-provider.service.ts

@ -666,9 +666,13 @@ export class DataProviderService {
} = {}; } = {};
for (const date in rootData) { for (const date in rootData) {
data[date] = { if (isNumber(rootData[date].marketPrice)) {
marketPrice: new Big(factor).mul(rootData[date].marketPrice).toNumber() data[date] = {
}; marketPrice: new Big(factor)
.mul(rootData[date].marketPrice)
.toNumber()
};
}
} }
return data; return data;

Loading…
Cancel
Save