Rebuild.
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user