Skip to content

Commit 338e42f

Browse files
rbucktonweswigham
authored andcommitted
Update request-pr-review script to latest version of octokit (#39031)
1 parent c388222 commit 338e42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/request-pr-review.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ main().catch(console.error);
4242

4343
async function main() {
4444
const gh = new Octokit({ auth: options.token });
45-
const response = await gh.pulls.createReviewRequest({
45+
const response = await gh.pulls.requestReviewers({
4646
owner: options.owner,
4747
repo: options.repo,
4848
pull_number,

0 commit comments

Comments
 (0)