Skip to content

Commit 976c5c4

Browse files
authored
Add missing API switch for GHES (#200)
1 parent 4ebf668 commit 976c5c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types/githubClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class GitHubClient {
2424
const octokit = new RetryOctokit({
2525
auth: this.token,
2626
request: { retries: RETRY_COUNT },
27+
baseUrl: process.env["GITHUB_API_URL"] || "https://api.github.com",
2728
});
2829
const [owner, repo] = this.repository.split("/");
2930

0 commit comments

Comments
 (0)