mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-03-07 15:08:07 +08:00
Merge pull request #32 from anuraghazra/fix-stars
fix: fixed total stars count stat
This commit is contained in:
commit
61737f6985
@ -21,7 +21,7 @@ async function fetchStats(username) {
|
||||
issues(first: 100) {
|
||||
totalCount
|
||||
}
|
||||
repositories(first: 100) {
|
||||
repositories(first: 100, orderBy: { direction: DESC, field: STARGAZERS }) {
|
||||
nodes {
|
||||
stargazers {
|
||||
totalCount
|
||||
@ -31,7 +31,7 @@ async function fetchStats(username) {
|
||||
}
|
||||
}
|
||||
`,
|
||||
variables: { login: username }
|
||||
variables: { login: username },
|
||||
});
|
||||
|
||||
const stats = {
|
||||
|
Loading…
Reference in New Issue
Block a user