Skip to content

Commit 10e9d35

Browse files
authored
Merge pull request #25 from gonchalo620/master
By default the Azure DevOps REST API queries the first 100 projects
2 parents 45fb34d + 5c2ab6d commit 10e9d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-devops-client/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (c *AzureDevopsClient) ListProjects() (list ProjectList, error error) {
2929
c.concurrencyLock()
3030

3131
url := fmt.Sprintf(
32-
"_apis/projects?api-version=%v",
32+
"_apis/projects?$top=300&api-version=%v",
3333
url.QueryEscape(c.ApiVersion),
3434
)
3535
response, err := c.rest().R().Get(url)

0 commit comments

Comments
 (0)