From c4aaa667d9b9f550920c900ad46d39f64433c86c Mon Sep 17 00:00:00 2001 From: Juan Falcon Date: Thu, 27 Jul 2023 14:50:16 -0300 Subject: [PATCH] fix --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 71d65cf..104a0c8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12834,7 +12834,7 @@ function run() { pull_number: pr.number, }); let approved = false; - for (const review of reviews) { + for (const review of reviews.data) { if (review.state === 'APPROVED') { approved = true; }