github-tools / github-tools/github

Private data not returning

Abierto
#626 0 comentarios 0 reacciones 0 asignados Ver en GitHub
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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.