From c24c5c9151ea838cd69fc2d537c3534816afd954 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Sat, 13 Jul 2024 10:22:51 +0530 Subject: [PATCH] fixed bug --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d2256f0..7e72204 100644 --- a/src/index.js +++ b/src/index.js @@ -100,7 +100,7 @@ const run = async () => { repo, per_page: 100, }, response => response.data.filter(r => r.event == "assigned") - ).then((data) => { + ).then(async (data) => { for (const event of data) { if (event.issue.assignee && event.issue.state == "open") {