diff --git a/src/github-helper.ts b/src/github-helper.ts index 6d41e06..766a5fd 100644 --- a/src/github-helper.ts +++ b/src/github-helper.ts @@ -47,7 +47,7 @@ export 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' }