Skip to content

Commit

Permalink
fix: omitempty next
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Feb 13, 2024
1 parent 5b52945 commit fa8a3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pagination/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type CursorRequest struct {
type PaginationResponse struct {
NumPages int `json:"numPages"`
ResultArray []int `json:"resultArray"`
Next *string `json:"next"`
Next *string `json:"next,omitempty"`
}

const total = 20
Expand Down

0 comments on commit fa8a3b7

Please sign in to comment.