diff --git a/src/platforms/curseforge/curseforge-uploader.ts b/src/platforms/curseforge/curseforge-uploader.ts index c17173c..1af6c14 100644 --- a/src/platforms/curseforge/curseforge-uploader.ts +++ b/src/platforms/curseforge/curseforge-uploader.ts @@ -52,8 +52,8 @@ export class CurseForgeUploader extends GenericPlatformUploader { ArgumentError.throwIfNullOrEmpty(request.id, "request.id"); - const api = new CurseForgeUploadApiClient({ token: request.token.unwrap() }); - const eternalApi = new CurseForgeEternalApiClient(); + const api = new CurseForgeUploadApiClient({ token: request.token.unwrap(), fetch: this._fetch }); + const eternalApi = new CurseForgeEternalApiClient({ fetch: this._fetch }); const project = await this.getProject(request.id, eternalApi); const version = await this.createVersion(request, project.id, api, eternalApi);