This commit is contained in:
lowlighter committed 2021-05-26 19:59:53 +02:00
commit 0ce9784422
3 files changed
+73 -65

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ async function wait(seconds) {
const api = {}
api.graphql = octokit.graphql.defaults({headers:{authorization:`token ${token}`}})
info("Github GraphQL API", "ok")
api.rest = github.getOctokit(token)
api.rest = github.getOctokit(token).rest
info("Github REST API", "ok")
//Apply mocking if needed
if (mocked) {