Skip to content

Commit

Permalink
updates for octokit rest
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzolyak committed Aug 27, 2019
1 parent 6d65476 commit 9345c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports.addLabel = function(
.addLabels({
owner: eventOwner,
repo: eventRepo,
number: eventIssueNumber,
issue_number: eventIssueNumber,
labels: [label] // ['Incomplete Tasks']
})
.then(({ data, headers, status }) => {
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/actionTrigger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"action": "opened",
"issue": {
"id": 376593094,
"number": 27,
"number": 88,
"title": "newissue3",
"state": "open",
"body": "to do\r\n- [ ] thing\r\n- [x] thing\r\n\r\n[bug, que]"
"body": "blah blah [cow, api]"
}
}

0 comments on commit 9345c15

Please sign in to comment.