Skip to content

Commit 0908194

Browse files
committed
fix(chore): fixed wrong behavior for perPage pagination
1 parent a699743 commit 0908194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convoy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Pagination struct {
2828

2929
// ListParams is used in requests for filtering lists
3030
type ListParams struct {
31-
PerPage int `url:"perPage"`
31+
PerPage int `url:"perPage,omitempty"`
3232
PrevPageCursor string `url:"prev_page_cursor"`
3333
NextPageCursor string `url:"next_page_cursor"`
3434
}

0 commit comments

Comments
 (0)