Skip to content

Commit 3dddc5f

Browse files
committed
fix: add limit=200 to plans API query
Without a limit param, DRF returns only the default page size. Match the frontend behavior by requesting up to 200 plans. none
1 parent 976a5c1 commit 3dddc5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/api/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package api
22

33
// ListPlans retrieves all available VPS plans
44
func (c *Client) ListPlans() ([]Plan, error) {
5-
path := "/client/plans/"
5+
path := "/client/plans/?limit=200"
66

77
resp, err := c.Get(path)
88
if err != nil {

0 commit comments

Comments
 (0)