Skip to content

Commit f081d03

Browse files
authored
Merge pull request rust-lang#1243 from GuillaumeGomez/only-list-open-issues
Only list open issues instead of all issues
2 parents 505a375 + 8b10ad5 commit f081d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/github_updater.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const GRAPHQL_UPDATE: &str = "query($ids: [ID!]!) {
2828
description
2929
stargazerCount
3030
forkCount
31-
issues { totalCount }
31+
issues(states: [OPEN]) { totalCount }
3232
}
3333
}
3434
rateLimit {
@@ -44,7 +44,7 @@ const GRAPHQL_SINGLE: &str = "query($owner: String!, $repo: String!) {
4444
description
4545
stargazerCount
4646
forkCount
47-
issues { totalCount }
47+
issues(states: [OPEN]) { totalCount }
4848
}
4949
}";
5050

0 commit comments

Comments
 (0)