Attempt to make this work

This commit is contained in:
Mark Wylde
2025-05-30 20:10:31 +01:00
parent e474962b0d
commit f598608bb4
5 changed files with 163 additions and 34 deletions

View File

@@ -9,7 +9,10 @@ export type Octokits = {
export function createOctokit(token: string): Octokits {
return {
rest: new Octokit({ auth: token }),
rest: new Octokit({
auth: token,
baseUrl: GITHUB_API_URL,
}),
graphql: graphql.defaults({
baseUrl: GITHUB_API_URL,
headers: {