Browse Source

Improve handling of missing url

pull/4171/head
Thomas Kaul 8 months ago
parent
commit
52b890840c
  1. 2
      apps/api/src/app/logo/logo.service.ts

2
apps/api/src/app/logo/logo.service.ts

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

Loading…
Cancel
Save