Skip to content

Commit 3f7daee

Browse files
committed
restore domain
1 parent 5f159fb commit 3f7daee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: core/context/providers/GitHubIssuesContextProvider.ts

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class GitHubIssuesContextProvider extends BaseContextProvider {
2424

2525
const octokit = new Octokit({
2626
auth: this.options?.githubToken,
27+
baseUrl: this.options?.domain
28+
? `https://${this.options.domain}/api/v3`
29+
: undefined,
2730
request: {
2831
fetch: extras.fetch,
2932
},

0 commit comments

Comments
 (0)