fix DI error in HttpRequestService.ts

This commit is contained in:
Hazelnoot 2025-07-25 16:32:54 -04:00
parent 05bc6f5d86
commit 53c7db3d1d
2 changed files with 5 additions and 2 deletions

View file

@ -148,12 +148,16 @@ export class HttpRequestService {
*/
public readonly httpsAgent: https.Agent;
/**
* Get shared DNS resolver
*/
public readonly lookup: net.LookupFunction;
constructor(
@Inject(DI.config)
private config: Config,
private readonly apUtilityService: ApUtilityService,
private readonly utilityService: UtilityService,
private readonly lookup: net.LookupFunction,
) {
const cache = new CacheableLookup({
maxTtl: 3600, // 1hours