|
@ -80,9 +80,7 @@ export class TrackinsightDataEnhancerService implements DataEnhancerInterface { |
|
|
const holdings = await fetch( |
|
|
const holdings = await fetch( |
|
|
`${TrackinsightDataEnhancerService.baseUrl}/holdings/${trackinsightSymbol}.json`, |
|
|
`${TrackinsightDataEnhancerService.baseUrl}/holdings/${trackinsightSymbol}.json`, |
|
|
{ |
|
|
{ |
|
|
signal: AbortSignal.timeout( |
|
|
signal: AbortSignal.timeout(requestTimeout) |
|
|
this.configurationService.get('REQUEST_TIMEOUT') |
|
|
|
|
|
) |
|
|
|
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
.then((res) => res.json()) |
|
|
.then((res) => res.json()) |
|
|