Skip to content

Commit

Permalink
Fix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigi committed Apr 21, 2020
1 parent 77ae669 commit b86a258
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ async function run() {
issue_number = issueNumberInput;
console.log(issue_number);

issue = await client.issues.get({
const issueResponse = await client.issues.get({
issue_number,
repo,
owner,
});
issue = issueResponse.data;
} else {
core.setFailed("No issue or issue number present");
}
Expand Down

0 comments on commit b86a258

Please sign in to comment.