diff --git a/app/OptionalResourceService.ts b/app/OptionalResourceService.ts index dff21cea82ea..6fb4e76895fa 100644 --- a/app/OptionalResourceService.ts +++ b/app/OptionalResourceService.ts @@ -171,7 +171,7 @@ export class OptionalResourceService { decl: OptionalResourceType, destPath: string ): Promise { - const result = await got(decl.url, getGotOptions()).buffer(); + const result = await got(decl.url, await getGotOptions()).buffer(); this.cache.set(name, result);