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}`;
|
options.auth = `${token}`;
|
||||||
}
|
}
|
||||||
if (githubServerHostname !== 'github.com') {
|
if (githubServerHostname !== 'github.com') {
|
||||||
options.baseUrl = `https://${githubServerHostname}/api/v3`;
|
options.baseUrl = `https://${githubServerHostname}/api/v1`;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
options.baseUrl = 'https://api.github.com';
|
options.baseUrl = 'https://api.github.com';
|
||||||
@@ -36682,4 +36682,4 @@ function validateConcurrency(concurrency) {
|
|||||||
/******/ module.exports = __webpack_exports__;
|
/******/ module.exports = __webpack_exports__;
|
||||||
/******/
|
/******/
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user