use proper gitea api
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -1328,7 +1328,7 @@ class GitHubHelper {
|
||||
options.auth = `${token}`;
|
||||
}
|
||||
if (githubServerHostname !== 'github.com') {
|
||||
options.baseUrl = `https://${githubServerHostname}/api/v3`;
|
||||
options.baseUrl = `https://${githubServerHostname}/api/v1`;
|
||||
}
|
||||
else {
|
||||
options.baseUrl = 'https://api.github.com';
|
||||
@ -36682,4 +36682,4 @@ function validateConcurrency(concurrency) {
|
||||
/******/ module.exports = __webpack_exports__;
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
;
|
||||
|
Reference in New Issue
Block a user