Skip to content

Commit

Permalink
print labelObjectList
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Feb 4, 2022
1 parent 1a55a2a commit 030e88d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,12 @@ async function getIssueLabels (issueNumber) {
owner: owner,
repo: repo,
issue_number: issueNumber
}).data
})

console.log("LOLOLOLOLOLOLO")
console.log(labelObjectList)

return labelObjectList.map((labelObject) => labelObject.name)
return labelObjectList.data.map((labelObject) => labelObject.name)
}

// Get the project with name passed into projectName from the current repo
Expand Down

0 comments on commit 030e88d

Please sign in to comment.