Skip to content

Commit

Permalink
Add min_access_level to GitLab groups query (#46480)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlast committed Jan 16, 2023
1 parent 3c3b4ee commit 174e312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/extsvc/gitlab/groups.go
Expand Up @@ -19,7 +19,7 @@ func (c *Client) ListGroups(ctx context.Context, page int) (groups []*Group, has
return MockListGroups(ctx, page)
}

url := fmt.Sprintf("groups?per_page=100&page=%d", page)
url := fmt.Sprintf("groups?per_page=100&page=%d&min_access_level=10", page)
req, err := http.NewRequest("GET", url, nil)
if err != nil {
return nil, false, err
Expand Down

0 comments on commit 174e312

Please sign in to comment.