github-tools / github-tools/github

Private data not returning

Open
#626 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
809
PR merge metrics
No merged PRs in 30d

Description

When making a call to get the authenticated user's gists, it only returns the public gists.

```
import GitHubAPI from 'github-api';

const getGists = (async () => {
var gh = new GitHubAPI({
token: 'token'
});
var user = gh.getUser();
var gists = user.listGists().then( data => data );

return gists;
})
```

Is this a GitHub API issue, a GitHub.JS issue, or am I missing something?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.