Skip to content

Commit 6f5ee2e

Browse files
committed
Update index.ts
1 parent f7155d8 commit 6f5ee2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ octokit.rest.repos.listForOrg({org: organizationName}).then((response) => {
1515
return;
1616
}
1717

18-
octokit.rest.issues.listLabelsForRepo({owner: organizationName, repo: repo.name}).then((label) => {
19-
console.log(label);
18+
octokit.rest.issues.listLabelsForRepo({owner: organizationName, repo: repo.name}).then((labels) => {
19+
console.log(labels.data);
2020

2121
})
2222
})

0 commit comments

Comments
 (0)