From 78a235b82b131f74b4892f91eb1738a6966d3281 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 4 Jan 2026 13:59:51 -0500 Subject: [PATCH] Rebuild. --- out/github-action.cjs | 4 ++-- src/github-action.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/out/github-action.cjs b/out/github-action.cjs index 1842e29..cb71522 100644 --- a/out/github-action.cjs +++ b/out/github-action.cjs @@ -90185,8 +90185,8 @@ var octokit; var giteaClient; if (PLATFORM === "gitea" || PLATFORM === "forgejo") { try { - const GiteaClient = (init_dist_bundle7(), __toCommonJS(dist_bundle_exports)).Gitea; - giteaClient = new GiteaClient({ + const gitea = (init_dist_bundle7(), __toCommonJS(dist_bundle_exports)).ApiClient; + giteaClient = new gitea({ baseUrl: GITEA_URL, auth: GITHUB_TOKEN }); diff --git a/src/github-action.ts b/src/github-action.ts index ba2fe6b..496c7ee 100644 --- a/src/github-action.ts +++ b/src/github-action.ts @@ -18,8 +18,8 @@ let giteaClient: any; // We'll initialize this properly below if (PLATFORM === 'gitea' || PLATFORM === 'forgejo') { // Dynamically import the Gitea client try { - const GiteaClient = require('@go-gitea/sdk.js').Gitea; - giteaClient = new GiteaClient({ + const gitea = require('@go-gitea/sdk.js').ApiClient; + giteaClient = new gitea({ baseUrl: GITEA_URL, auth: GITHUB_TOKEN, });