parent
ef2711acad
commit
908105f643
4 changed files with 51 additions and 6 deletions
|
@ -114,7 +114,7 @@ func (c *Client) RepositoriesList(ctx context.Context) ([]Repository, error) {
|
|||
for {
|
||||
query.Set("page", strconv.Itoa(page))
|
||||
uriRef.RawQuery = query.Encode()
|
||||
count, err := c.Send(ctx, "GET", &uriRef, nil, &response)
|
||||
count, err := c.send(ctx, "GET", &uriRef, nil, &response)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to search repositories: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue