mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-15 06:04:17 +08:00
Merge pull request #204 from SSARCandy/master
fix: fetch top lang in each repository
This commit is contained in:
commit
68198d8b16
@ -8,9 +8,9 @@ const fetcher = (variables, token) => {
|
||||
query: `
|
||||
query userInfo($login: String!) {
|
||||
user(login: $login) {
|
||||
repositories(isFork: false, first: 100) {
|
||||
repositories(isFork: false, first: 100, orderBy: {field: UPDATED_AT, direction: DESC}) {
|
||||
nodes {
|
||||
languages(first: 1) {
|
||||
languages(first: 1, orderBy: {field: SIZE, direction: DESC}) {
|
||||
edges {
|
||||
size
|
||||
node {
|
||||
|
Loading…
Reference in New Issue
Block a user