Skip to content

Commit

Permalink
馃悰 Return rest api from octokit
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed May 29, 2021
1 parent cee8520 commit 04ec06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const getOctokit = (token) => {
}
})

return new Octokit(options)
const client = new Octokit(options)
return client.rest
}

const init = (repo) => {
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const {

const run = async () => {
const client = Git.getOctokit(GITHUB_TOKEN)
// const client = github.getOctokit(GITHUB_TOKEN)

const repos = await parseConfig()

Expand Down

0 comments on commit 04ec06a

Please sign in to comment.