Skip to content

Commit 587c0a6

Browse files
authored
fix: Refactor GraphQL query variable name for clarity
Signed-off-by: Parv <ninamaparv@gmail.com>
1 parent 72c729d commit 587c0a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/bot-beginner-assign-on-comment.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ async function countCompletedGfiIssues(github, owner, repo, username) {
8383

8484
const result = await github.graphql(
8585
`
86-
query ($query: String!) {
87-
search(type: ISSUE, query: $query) {
86+
query ($searchquery: String!) {
87+
search(type: ISSUE, query: $searchquery) {
8888
issueCount
8989
}
9090
}
9191
`,
92-
{ query: searchQuery }
92+
{ searchQuery }
9393
);
9494

9595
return result?.search?.issueCount ?? 0;

0 commit comments

Comments
 (0)