We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12b4c8 commit a902fc7Copy full SHA for a902fc7
1 file changed
src/utils/query.js
@@ -1,9 +1,9 @@
1
-module.exports = (cursor) => {
+module.exports = (cursor, language) => {
2
const after = cursor ? `, after: "${cursor}"` : '';
3
4
return `
5
{
6
- search(type: REPOSITORY, query: "stars:>100", first: 5${after}) {
+ search(type: REPOSITORY, query: "stars:>100 language:${language}", first: 5${after}) {
7
repositoryCount
8
pageInfo {
9
endCursor
0 commit comments