🐛 Return rest api from octokit

This commit is contained in:
BetaHuhn 2021-05-29 13:45:46 +02:00
parent cee8520048
commit 04ec06a743
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,8 @@ const getOctokit = (token) => {
}
})
return new Octokit(options)
const client = new Octokit(options)
return client.rest
}
const init = (repo) => {

View File

@ -20,7 +20,6 @@ const {
const run = async () => {
const client = Git.getOctokit(GITHUB_TOKEN)
// const client = github.getOctokit(GITHUB_TOKEN)
const repos = await parseConfig()