Browse Source

Add missing guard

pull/5663/head
Thomas Kaul 1 month ago
parent
commit
033c4ab939
  1. 2
      apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts

2
apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts

@ -161,7 +161,7 @@ export class FinancialModelingPrepService implements DataProviderInterface {
} }
).then((res) => res.json()); ).then((res) => res.json());
if (etfInformation.website) { if (etfInformation?.website) {
response.url = etfInformation.website; response.url = etfInformation.website;
} }

Loading…
Cancel
Save