chore(forge): centralise default pagination limit
All checks were successful
Security Scan / security (push) Successful in 21s
Test / test (push) Successful in 1m46s

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 06:48:19 +00:00
parent 870d143f78
commit 7444ad47f9

View file

@ -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.
//