We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e046225 commit cb0e603Copy full SHA for cb0e603
1 file changed
src/scripts/fetch-comments.js
@@ -14,9 +14,9 @@ async function fetchDiscussions(categoryId) {
14
},
15
body: JSON.stringify({
16
query: `
17
- query($repoOwner: String!, $repoName: String!, $categoryName: String!) {
+ query($repoOwner: String!, $repoName: String!, $categoryId: ID!) {
18
repository(owner: $repoOwner, name: $repoName) {
19
- discussions(first: 100, categoryId: $categoryName, orderBy: {field: CREATED_AT, direction: DESC}) {
+ discussions(first: 100, categoryId: $categoryId, orderBy: {field: CREATED_AT, direction: DESC}) {
20
nodes {
21
id
22
title
0 commit comments