Browse Source

Feature/refactor types in EOD historical data service (#4063)

* Refactor types
pull/4064/head
Thomas Kaul 2 months ago
committed by GitHub
parent
commit
a8ea8a4599
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      apps/api/src/services/data-provider/eod-historical-data/eod-historical-data.service.ts

8
apps/api/src/services/data-provider/eod-historical-data/eod-historical-data.service.ts

@ -410,14 +410,12 @@ export class EodHistoricalDataService implements DataProviderInterface {
return name; return name;
} }
private async getSearchResult(aQuery: string): Promise< private async getSearchResult(aQuery: string) {
(LookupItem & { let searchResult: (LookupItem & {
assetClass: AssetClass; assetClass: AssetClass;
assetSubClass: AssetSubClass; assetSubClass: AssetSubClass;
isin: string; isin: string;
})[] })[] = [];
> {
let searchResult = [];
try { try {
const abortController = new AbortController(); const abortController = new AbortController();

Loading…
Cancel
Save