Bugfix/improve handling of missing url in logo service (#4171)

* Improve handling of missing url

* Update changelog
pull/4176/head
Thomas Kaul 7 days ago committed by GitHub
parent 1cf7ffdee8
commit bbbd974be6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for German (`de`)
- Refreshed the cryptocurrencies list
### Fixed
- Improved the handling of a missing url in the endpoint to fetch the logo of an asset or a platform
## 2.132.0 - 2024-12-30
### Added

@ -28,7 +28,7 @@ export class LogoService {
{ dataSource, symbol }
]);
if (!assetProfile) {
if (!assetProfile?.url) {
throw new HttpException(
getReasonPhrase(StatusCodes.NOT_FOUND),
StatusCodes.NOT_FOUND

Loading…
Cancel
Save