mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-04-23 11:02:09 +00:00
fix: fixed total stars count stat
This commit is contained in:
parent
46369f5667
commit
8e0fa7fbec
@ -21,7 +21,7 @@ async function fetchStats(username) {
|
|||||||
issues(first: 100) {
|
issues(first: 100) {
|
||||||
totalCount
|
totalCount
|
||||||
}
|
}
|
||||||
repositories(first: 100) {
|
repositories(first: 100, orderBy: { direction: DESC, field: STARGAZERS }) {
|
||||||
nodes {
|
nodes {
|
||||||
stargazers {
|
stargazers {
|
||||||
totalCount
|
totalCount
|
||||||
@ -31,7 +31,7 @@ async function fetchStats(username) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
variables: { login: username }
|
variables: { login: username },
|
||||||
});
|
});
|
||||||
|
|
||||||
const stats = {
|
const stats = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user