From e81a163a3be50e9a0c23c33fe5ea059251f0ff7e Mon Sep 17 00:00:00 2001 From: firelemons Date: Fri, 4 Feb 2022 22:34:45 -0600 Subject: [PATCH] fix reference error --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9028199..c9a2c4c 100644 --- a/index.js +++ b/index.js @@ -163,7 +163,7 @@ async function getIssueLabels (issueNumber) { const labelsAsObject = {} - for (const label of labelObjectList) { + for (const label of labelObjectList.data) { labelsAsObject[label.name.toLowerCase()] = true }