GitHub - fix graphql query regression following the ESM migration (#249340)

This commit is contained in:
Ladislau Szomoru
2025-05-20 10:09:15 +00:00
committed by GitHub
parent fc6362c8ea
commit 70107d1562

View File

@@ -71,7 +71,7 @@ export async function getOctokitGraphql(): Promise<graphql> {
const token = session.accessToken;
const { graphql } = await import('@octokit/graphql');
return graphql({
return graphql.defaults({
headers: {
authorization: `token ${token}`
},