Minor changes

This commit is contained in:
lowlighter
2020-10-18 12:42:59 +02:00
parent 18f3c2ee74
commit 833e730edc
3 changed files with 6 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
process.on("unhandledRejection", error => { throw error })
//Load GitHub handlers
const token = process.argv.slice(2)[0] ?? "73a71c11ec07d9b114f5e2af26a3cdde1c6fe65a"
const token = process.argv.slice(2)[0]
const graphql = octokit.graphql.defaults({headers:{authorization: `token ${token}`}})
const rest = new OctokitRest.Octokit({auth:token})