Skip to content

Commit

Permalink
Update based on API changes with Octokit
Browse files Browse the repository at this point in the history
  • Loading branch information
rgeraldporter committed Mar 22, 2021
1 parent 2e12c20 commit 29b88cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84616,7 +84616,7 @@ module.exports = robot => {

robot.log(`logging body: ${body}`);

context.octokit.repos.createStatus(
context.octokit.repos.createCommitStatus(
context.repo({
sha: context.payload.pull_request.head.sha,
state: status,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = robot => {

robot.log(`logging body: ${body}`);

context.octokit.repos.createStatus(
context.octokit.repos.createCommitStatus(
context.repo({
sha: context.payload.pull_request.head.sha,
state: status,
Expand Down

0 comments on commit 29b88cf

Please sign in to comment.