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. 6
      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
### Fixed
- Handled an exception in the historical market data gathering of derived currencies
## 2.112.0 - 2024-10-03
### Added

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

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

Loading…
Cancel
Save