Browse Source

Merge branch 'main' into patch-3

pull/4141/head
Thomas Kaul 8 months ago
committed by GitHub
parent
commit
a164e31ff4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved support to import activities by `isin` in the _Yahoo Finance_ service
- Improved the language localization for Polish (`pl`)
## 2.130.0 - 2024-12-21

2
apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts

@ -166,7 +166,7 @@ export class YahooFinanceDataEnhancerService implements DataEnhancerInterface {
try {
const { quotes } = await yahooFinance.search(symbol);
if (quotes.length === 1) {
if (quotes?.[0]?.symbol) {
symbol = quotes[0].symbol;
}
} catch {}

Loading…
Cancel
Save