mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Update request-pr-review script to latest version of octokit (#39031)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user