diff --git a/dist/index.js b/dist/index.js index b555e94..8cbfb72 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1284,7 +1284,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';