mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 22:15:15 +00:00
fix: temporary disable multi page star fetch
This commit is contained in:
parent
94d0978d2b
commit
aae83cb22e
1 changed files with 4 additions and 3 deletions
|
|
@ -152,9 +152,10 @@ const totalStarsFetcher = async (username, repoToHide) => {
|
|||
(node) => node.stargazers.totalCount !== 0,
|
||||
);
|
||||
nodes.push(...nodesWithStars);
|
||||
hasNextPage =
|
||||
allNodes.length === nodesWithStars.length &&
|
||||
res.data.data.user.repositories.pageInfo.hasNextPage;
|
||||
// hasNextPage =
|
||||
// allNodes.length === nodesWithStars.length &&
|
||||
// res.data.data.user.repositories.pageInfo.hasNextPage;
|
||||
hasNextPage = false // NOTE: Temporarily disable fetching of multiple pages.
|
||||
endCursor = res.data.data.user.repositories.pageInfo.endCursor;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue