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 }