Skip to content

Commit

Permalink
Merge pull request #9 from echoix/slash-cmd-ref
Browse files Browse the repository at this point in the history
Slash cmd ref
  • Loading branch information
echoix authored Apr 5, 2023
2 parents ea8793f + 6a00da2 commit 44706cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/slash-command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down

0 comments on commit 44706cc

Please sign in to comment.