Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/improve handling of missing url in logo service (#4171)
Thomas Kaulbbbd974be64f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4aa7a13b4c..b2b66f56c6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -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### Addeddiff --git a/apps/api/src/app/logo/logo.service.ts b/apps/api/src/app/logo/logo.service.tsindex 584f50cabd..d245faa299 100644--- a/apps/api/src/app/logo/logo.service.ts+++ b/apps/api/src/app/logo/logo.service.ts@@ -28,7 +28,7 @@ export class LogoService {{ dataSource, symbol }]);- if (!assetProfile) {+ if (!assetProfile?.url) {throw new HttpException(getReasonPhrase(StatusCodes.NOT_FOUND),StatusCodes.NOT_FOUND