mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
Restrict to organization repositories that the user is a member of.
Helps to filter out cases where the user doesn't have commit access to most of an organization's repositories (@ImJasonH goes from 745 to 192).
This commit is contained in:
parent
19f257f02e
commit
543552ae6b
1 changed files with 1 additions and 0 deletions
|
|
@ -287,6 +287,7 @@ func getRepos(c appengine.Context, githubClient *github.Client, account *Account
|
|||
pageClientOrgRepos, response, err := githubClient.Repositories.ListByOrg(
|
||||
*org.Login,
|
||||
&github.RepositoryListByOrgOptions{
|
||||
Type: "member",
|
||||
ListOptions: github.ListOptions{
|
||||
Page: page,
|
||||
PerPage: 100,
|
||||
|
|
|
|||
Loading…
Reference in a new issue