This reverts commit ad7c38929b.
This commit is contained in:
@@ -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).rest
|
||||
api.rest = github.getOctokit(token)
|
||||
info("Github REST API", "ok")
|
||||
//Apply mocking if needed
|
||||
if (mocked) {
|
||||
|
||||
Reference in New Issue
Block a user