diff --git a/out/github-action.cjs b/out/github-action.cjs index 3250523..1842e29 100644 --- a/out/github-action.cjs +++ b/out/github-action.cjs @@ -90203,7 +90203,7 @@ var repo = context2.repo.repo; async function getCommitDiff(commitSha) { if (PLATFORM === "gitea" || PLATFORM === "forgejo") { try { - const diffResponse2 = await giteaClient.repoDownloadCommitDiffOrPatch({ + const diffResponse2 = await giteaClient.repository.repoDownloadCommitDiffOrPatch({ owner, repo, sha: commitSha, diff --git a/src/github-action.ts b/src/github-action.ts index 1f57924..ba2fe6b 100644 --- a/src/github-action.ts +++ b/src/github-action.ts @@ -41,7 +41,7 @@ type Diff = string; async function getCommitDiff(commitSha: string): Promise<{ sha: SHA; diff: Diff }> { if (PLATFORM === 'gitea' || PLATFORM === 'forgejo') { try { - const diffResponse = await giteaClient.repoDownloadCommitDiffOrPatch({ + const diffResponse = await giteaClient.repository.repoDownloadCommitDiffOrPatch({ owner, repo, sha: commitSha,