Update sync.js to remove 'new' from ClientError

This commit is contained in:
niclaz 2024-09-05 23:38:48 +02:00 committed by GitHub
parent 21d84eb9a1
commit 88d86f545b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ async function syncResearch () {
'Backlog': 'backlog', 'Backlog': 'backlog',
} }
const client = new GraphQLClient("https://api.github.com/graphql", { const client = GraphQLClient("https://api.github.com/graphql", {
headers: { headers: {
authorization: `bearer ${Deno.env.get('GITHUB_TOKEN')}`, authorization: `bearer ${Deno.env.get('GITHUB_TOKEN')}`,
}, },