github-tools / github-tools/github
Private data not returning
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3.8k
- Forks
- 809
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by reproducing the authenticated user.listGists() call from the issue with a token and inspect whether private gists are omitted. Compare the wrapper's response with the GitHub API behavior to identify whether the problem belongs to GitHub.JS or the API; done means the source of the omission and the expected behavior are established.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, javascript
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100