mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
GitHub - fix graphql query regression following the ESM migration (#249340)
This commit is contained in:
@@ -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}`
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user