Skip to content

Commit

Permalink
refactor again
Browse files Browse the repository at this point in the history
  • Loading branch information
leopic committed Aug 12, 2024
1 parent c7d38b1 commit 3303314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/time-to-first-review/src/fetch-reviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = async (repo, token, prNumber) => {
try {
const octokit = github.getOctokit(token);

const out = await octokit.pulls.listReviews({
const out = octokit.rest.pulls.listReviews({
owner: repo.split("/")[0],
repo: repo.split("/")[1],
pull_number: prNumber,
Expand Down

0 comments on commit 3303314

Please sign in to comment.