Skip to content

Commit

Permalink
Merge pull request #201 from johan-lindqvist/fix-readme-example
Browse files Browse the repository at this point in the history
docs(readme): fix README example
  • Loading branch information
joshmgross committed Oct 8, 2021
2 parents 441359b + 415189a commit 9bb3853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -298,7 +298,7 @@ And then export an async function from your module:
```javascript
module.exports = async ({github, context, core}) => {
const {SHA} = process.env
const commit = await github.repos.getCommit({
const commit = await github.rest.repos.getCommit({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `${SHA}`
Expand Down

0 comments on commit 9bb3853

Please sign in to comment.