Skip to content

Commit a699743

Browse files
authored
Merge pull request #53 from frain-dev/subomi/fix/fix-missing-params
fix(chore): added missing event_type param
2 parents a21137d + cfc9d07 commit a699743

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-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:"per_page"`
31+
PerPage int `url:"perPage"`
3232
PrevPageCursor string `url:"prev_page_cursor"`
3333
NextPageCursor string `url:"next_page_cursor"`
3434
}

event_delivery.go

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ type ListEventDeliveryResponse struct {
5757

5858
type EventDeliveryParams struct {
5959
ListParams
60+
EventType string `url:"event_type"`
6061
EventID string `url:"eventId"`
6162
Status []string `url:"status"`
6263
EndpointID []string `url:"endpointId"`

0 commit comments

Comments
 (0)