Merge pull request #6552 from cli/owner-affiliations
Fix `repo list` when belonging to org with IP Allow list enabled
This commit is contained in:
commit
ff9b18310a
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ func listRepos(client *http.Client, hostname string, limit int, owner string, fi
|
|||
query := fmt.Sprintf(`query RepositoryList(%s) {
|
||||
%s {
|
||||
login
|
||||
repositories(first: $perPage, after: $endCursor, privacy: $privacy, isFork: $fork, ownerAffiliations: OWNER, orderBy: { field: PUSHED_AT, direction: DESC }) {
|
||||
repositories(first: $perPage, after: $endCursor, privacy: $privacy, isFork: $fork, affiliations: OWNER, orderBy: { field: PUSHED_AT, direction: DESC }) {
|
||||
nodes{%s}
|
||||
totalCount
|
||||
pageInfo{hasNextPage,endCursor}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue