Skip to content

Commit a902fc7

Browse files
committed
[^] Query: language support
1 parent d12b4c8 commit a902fc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/query.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module.exports = (cursor) => {
1+
module.exports = (cursor, language) => {
22
const after = cursor ? `, after: "${cursor}"` : '';
33

44
return `
55
{
6-
search(type: REPOSITORY, query: "stars:>100", first: 5${after}) {
6+
search(type: REPOSITORY, query: "stars:>100 language:${language}", first: 5${after}) {
77
repositoryCount
88
pageInfo {
99
endCursor

0 commit comments

Comments
 (0)