diff --git a/internal/pagination/service.go b/internal/pagination/service.go index 9d68912..fbf3b54 100644 --- a/internal/pagination/service.go +++ b/internal/pagination/service.go @@ -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