Gitea reference fix.
This commit is contained in:
@@ -18,7 +18,7 @@ let giteaClient: any; // We'll initialize this properly below
|
|||||||
if (PLATFORM === 'gitea' || PLATFORM === 'forgejo') {
|
if (PLATFORM === 'gitea' || PLATFORM === 'forgejo') {
|
||||||
// Dynamically import the Gitea client
|
// Dynamically import the Gitea client
|
||||||
try {
|
try {
|
||||||
const GiteaClient = require('@go-gitea/sdk.js').GiteaClient;
|
const GiteaClient = require('@go-gitea/sdk.js').Gitea;
|
||||||
giteaClient = new GiteaClient(GITEA_URL, {
|
giteaClient = new GiteaClient(GITEA_URL, {
|
||||||
token: GITHUB_TOKEN
|
token: GITHUB_TOKEN
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user