github-tools / github-tools/github
Private data not returning
- 主要語言
- 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