chore(forge): centralise default pagination limit
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
870d143f78
commit
7444ad47f9
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ type ListOptions struct {
|
|||
//
|
||||
// page, err := forge.ListPage[types.Repository](ctx, client, path, nil, forge.DefaultList)
|
||||
// _ = page
|
||||
var DefaultList = ListOptions{Page: 1, Limit: 50}
|
||||
var DefaultList = ListOptions{Page: 1, Limit: defaultPageLimit}
|
||||
|
||||
// PagedResult holds a single page of results with metadata.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue