Release 1.47.1 (#350)

pull/351/head v1.47.1
Thomas Kaul 3 years ago committed by GitHub
parent 20731c67cb
commit ee5ab05d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.47.0 - 06.09.2021 ## 1.47.1 - 06.09.2021
### Fixed ### Fixed

@ -47,18 +47,19 @@ export class DataProviderService {
return this.ghostfolioScraperApiService.get(aSymbols); return this.ghostfolioScraperApiService.get(aSymbols);
} else if (isRakutenRapidApiSymbol(symbol)) { } else if (isRakutenRapidApiSymbol(symbol)) {
return this.rakutenRapidApiService.get(aSymbols); return this.rakutenRapidApiService.get(aSymbols);
} else {
const yahooFinanceSymbol = convertToYahooFinanceSymbol(symbol);
return this.yahooFinanceService.get([yahooFinanceSymbol]);
} }
} }
const yahooFinanceSymbols = aSymbols.filter((symbol) => { const yahooFinanceSymbols = aSymbols
return ( .filter((symbol) => {
!isGhostfolioScraperApiSymbol(symbol) && return (
!isRakutenRapidApiSymbol(symbol) !isGhostfolioScraperApiSymbol(symbol) &&
); !isRakutenRapidApiSymbol(symbol)
}); );
})
.map((symbol) => {
return convertToYahooFinanceSymbol(symbol);
});
const response = await this.yahooFinanceService.get(yahooFinanceSymbols); const response = await this.yahooFinanceService.get(yahooFinanceSymbols);

@ -1,6 +1,6 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "1.47.0", "version": "1.47.1",
"homepage": "https://ghostfol.io", "homepage": "https://ghostfol.io",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {

Loading…
Cancel
Save