Skip to content

Commit

Permalink
fix: actually pass token to octokit auth
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 1, 2020
1 parent e053565 commit 095aef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ const getIssues = async token => {

class GoodSamaritanCommand extends Command {
async run() {
await authenticate();
const token = await authenticate();

getIssues();
getIssues(token);
}
}

Expand Down

0 comments on commit 095aef1

Please sign in to comment.