Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Can't get user stats of total private gists, total private repos, total starred #2346

Open
1 task done
faustoct1 opened this issue Nov 8, 2022 · 0 comments
Open
1 task done
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects

Comments

@faustoct1
Copy link

faustoct1 commented Nov 8, 2022

What happened?

A github app can't get user stats of total private gists, total private repos, total starred.

Versions

@octokit/core ^4.1.0
node 16

Relevant log output

const octokit = new Octokit({
  auth: 'YOUR-TOKEN'
})
await octokit.request('GET /user', {})

missing fields

{
...
  "private_gists": 81,
  "total_private_repos": 100,
  "owned_private_repos": 100,
  "disk_usage": 10000,
...
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@faustoct1 faustoct1 added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Nov 8, 2022
@ghost ghost added this to Bugs in JS Nov 8, 2022
@kfcampbell kfcampbell changed the title [BUG]: [BUG]: Can't get user stats of total private gists, total private repos, total starred Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects
No open projects
JS
  
Bugs
Development

No branches or pull requests

4 participants
@nickfloyd @faustoct1 @kfcampbell and others