Skip to content

Commit

Permalink
Fix variable naming
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Jan 9, 2024
1 parent b1da814 commit dd311ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36744,7 +36744,7 @@ async function run() {
});

let approvers = [];
for await (const { reviews: allReviews } of iterator) {
for await (const { data: reviews } of allReviews) {
console.debug(`listReviews paged response response:\n ${JSON.stringify(reviews)}`);
for (const review of reviews) {
if (review => review.state === 'APPROVED' && review.user?.login) {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function run() {
});

let approvers = [];
for await (const { reviews: allReviews } of iterator) {
for await (const { data: reviews } of allReviews) {
console.debug(`listReviews paged response response:\n ${JSON.stringify(reviews)}`);
for (const review of reviews) {
if (review => review.state === 'APPROVED' && review.user?.login) {
Expand Down

0 comments on commit dd311ab

Please sign in to comment.