diff --git a/src/platforms/modrinth/modrinth-uploader.ts b/src/platforms/modrinth/modrinth-uploader.ts index caf62c1..46f83a4 100644 --- a/src/platforms/modrinth/modrinth-uploader.ts +++ b/src/platforms/modrinth/modrinth-uploader.ts @@ -53,7 +53,7 @@ export class ModrinthUploader extends GenericPlatformUploader { ArgumentError.throwIfNullOrEmpty(request.id, "request.id"); - const api = new ModrinthApiClient({ token: request.token.unwrap() }); + const api = new ModrinthApiClient({ token: request.token.unwrap(), fetch: this._fetch }); const unfeatureMode = request.unfeatureMode ?? (request.featured ? ModrinthUnfeatureMode.SUBSET : ModrinthUnfeatureMode.NONE); const project = await this.getProject(request.id, api);