Skip to content

Commit

Permalink
Merge pull request #54 from frain-dev/subomi/fix/fix-wrong-behavior-f…
Browse files Browse the repository at this point in the history
…or-pagination

fix(chore): fixed wrong behavior for perPage pagination
  • Loading branch information
subomi authored Oct 17, 2024
2 parents a699743 + 0908194 commit cf54b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convoy.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Pagination struct {

// ListParams is used in requests for filtering lists
type ListParams struct {
PerPage int `url:"perPage"`
PerPage int `url:"perPage,omitempty"`
PrevPageCursor string `url:"prev_page_cursor"`
NextPageCursor string `url:"next_page_cursor"`
}
Expand Down

0 comments on commit cf54b9b

Please sign in to comment.