github-tools / github-tools/github
Private data not returning
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.8k
- Forks
- 809
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, javascript
- Área
- api
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100