Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit eba594b

Browse files
🆕 Increase search result, 25 -> 100 on Bitbucket
1 parent 2d1721b commit eba594b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitbucket.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type projectLinks struct {
7272
}
7373

7474
func (c *BitbucketClient) searchRepositories(word string) (BitbucketRepositoryResponse, error) {
75-
url := fmt.Sprintf("%v/rest/api/1.0/repos?name=%v", c.BaseURL, word)
75+
url := fmt.Sprintf("%v/rest/api/1.0/repos?name=%v&limit=100", c.BaseURL, word)
7676
req, err := http.NewRequest("GET", url, nil)
7777
if err != nil {
7878
return BitbucketRepositoryResponse{}, err

0 commit comments

Comments
 (0)