Skip to content

Commit

Permalink
use ref instead of commit_sha parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Sep 29, 2019
1 parent 89028f7 commit ad9e543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pull/synchronized.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = () => async context => {
data: {
commit: { message: body }
}
} = await context.github.repos.getCommit(context.repo({ commit_sha: sha }))
} = await context.github.repos.getCommit(context.repo({ ref: sha }))

// TODO confirm this API before releasing in docs
const rules = config.commits
Expand Down

0 comments on commit ad9e543

Please # to comment.