From 88d86f545b63fdc662f3a9111101928fad87df2b Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Thu, 5 Sep 2024 23:38:48 +0200 Subject: [PATCH] Update sync.js to remove 'new' from ClientError --- utils/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sync.js b/utils/sync.js index 0f60488..33dba47 100644 --- a/utils/sync.js +++ b/utils/sync.js @@ -22,7 +22,7 @@ async function syncResearch () { 'Backlog': 'backlog', } - const client = new GraphQLClient("https://api.github.com/graphql", { + const client = GraphQLClient("https://api.github.com/graphql", { headers: { authorization: `bearer ${Deno.env.get('GITHUB_TOKEN')}`, },