Update request-pr-review script to latest version of octokit (#39031)

This commit is contained in:
Ron Buckton 2020-06-11 18:04:21 -07:00 committed by Wesley Wigham
parent c388222b29
commit 338e42fabe
No known key found for this signature in database
GPG key ID: D59F87F60C5400C9

View file

@ -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,