From cd9c696b4eab9877f6700fd07bc325e70b558baf Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Fri, 5 Jan 2024 15:24:39 +0000 Subject: [PATCH] Made use of custom `fetch` in `GitHubUploader` --- src/platforms/github/github-uploader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/github/github-uploader.ts b/src/platforms/github/github-uploader.ts index d814a80..b45fac5 100644 --- a/src/platforms/github/github-uploader.ts +++ b/src/platforms/github/github-uploader.ts @@ -61,7 +61,7 @@ export class GitHubUploader extends GenericPlatformUploader { - const api = new GitHubApiClient({ token: request.token.unwrap(), baseUrl: this._context.apiUrl }); + const api = new GitHubApiClient({ token: request.token.unwrap(), fetch: this._fetch, baseUrl: this._context.apiUrl }); const repo = this._context.repo; const release = await this.updateOrCreateRelease(request, api);