diff options
Diffstat (limited to 'build/constants.js')
-rw-r--r-- | build/constants.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/constants.js b/build/constants.js index 22327c5..414a6c5 100644 --- a/build/constants.js +++ b/build/constants.js @@ -57,7 +57,7 @@ async function fetchGithubApi(method, route, headers, json) { console.debug('fetching github api', method, route); const data = await node_fetch_1.default(githubApiBase + route, { agent: () => httpsAgent, - body: json ? JSON.stringify(json) : null, + body: json ? JSON.stringify(json) : undefined, method, headers: Object.assign({ 'Authorization': `token ${process.env.github_token}` |