Add missing API switch for GHES (#200)

This commit is contained in:
nv35
2022-06-22 18:14:43 +02:00
committed by GitHub
parent 4ebf668e6f
commit 976c5c4981
+1
View File
@@ -24,6 +24,7 @@ export class GitHubClient {
const octokit = new RetryOctokit({
auth: this.token,
request: { retries: RETRY_COUNT },
baseUrl: process.env["GITHUB_API_URL"] || "https://api.github.com",
});
const [owner, repo] = this.repository.split("/");