Skip to content

Commit

Permalink
Merge pull request #38 from ksinb/fix-new-endpoint
Browse files Browse the repository at this point in the history
Use new endpoints released with actions/github v5
  • Loading branch information
toshimaru committed May 24, 2021
2 parents aa13351 + 4706261 commit a5ba28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -19,7 +19,7 @@ async function run() {
}

const octokit = getOctokit(token);
const result = await octokit.issues.addAssignees({
const result = await octokit.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: number,
Expand Down

0 comments on commit a5ba28f

Please sign in to comment.