Skip to content

Commit

Permalink
Only fetch 'direct' collaborators
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Jul 30, 2020
1 parent 52261c6 commit d949360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github/graphql/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Repository struct {
UpdatedAt time.Time `json:"updated_at,omitempty"`
PushedAt time.Time `json:"pushed_at,omitempty"`
RepositoryTopics RepositoryTopics `graphql:"repositoryTopics(first: 25)" json:"repository_topics,omitempty"`
Collaborators Collaborators `graphql:"collaborators(first: 15)" json:"collaborators,omitempty"`
Collaborators Collaborators `graphql:"collaborators(first: 15, affiliation: DIRECT)" json:"collaborators,omitempty"`
}

type RepositoryTopics struct {
Expand Down

0 comments on commit d949360

Please sign in to comment.