Skip to content

Commit

Permalink
Update request-pr-review script to latest version of octokit (#39031)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton authored and weswigham committed Jun 15, 2020
1 parent c388222 commit 338e42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/request-pr-review.ts
Expand Up @@ -42,7 +42,7 @@ main().catch(console.error);

async function main() {
const gh = new Octokit({ auth: options.token });
const response = await gh.pulls.createReviewRequest({
const response = await gh.pulls.requestReviewers({
owner: options.owner,
repo: options.repo,
pull_number,
Expand Down

0 comments on commit 338e42f

Please sign in to comment.