mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 22:15:15 +00:00
Remove restrictedContributionsCount from GraphQL query and tests (#2799)
This commit is contained in:
parent
c506eccb8e
commit
a775176766
3 changed files with 0 additions and 3 deletions
|
|
@ -46,7 +46,6 @@ const GRAPHQL_STATS_QUERY = `
|
|||
login
|
||||
contributionsCollection {
|
||||
totalCommitContributions
|
||||
restrictedContributionsCount
|
||||
}
|
||||
repositoriesContributedTo(first: 1, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]) {
|
||||
totalCount
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ const data_stats = {
|
|||
repositoriesContributedTo: { totalCount: stats.contributedTo },
|
||||
contributionsCollection: {
|
||||
totalCommitContributions: stats.totalCommits,
|
||||
restrictedContributionsCount: 100,
|
||||
},
|
||||
pullRequests: { totalCount: stats.totalPRs },
|
||||
openIssues: { totalCount: stats.totalIssues },
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ const data_stats = {
|
|||
repositoriesContributedTo: { totalCount: 61 },
|
||||
contributionsCollection: {
|
||||
totalCommitContributions: 100,
|
||||
restrictedContributionsCount: 50,
|
||||
},
|
||||
pullRequests: { totalCount: 300 },
|
||||
openIssues: { totalCount: 100 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue