mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
Made use of custom fetch
in GitHubUploader
This commit is contained in:
parent
254c18a087
commit
cd9c696b4e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export class GitHubUploader extends GenericPlatformUploader<GitHubUploaderOption
|
|||
* @inheritdoc
|
||||
*/
|
||||
protected async uploadCore(request: GitHubUploadRequest): Promise<GitHubUploadReport> {
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue