github-tools / github-tools/github

Private data not returning

未关闭
#626 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
3.8k
派生
809
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, javascript
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。