Skip to content

Commit

Permalink
EventSub pagination
Browse files Browse the repository at this point in the history
- add pagination to eventsub
HOTFIX: 'omitempty'

- stop using omitempty query tag value
   i think it messes it up :(
  • Loading branch information
jackmcguire1 committed Jul 26, 2021
1 parent d401db2 commit 0c4e5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eventsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ type EventSubSubscriptionsResponse struct {
// Parameter for filtering subscriptions, currently only the status is filterable
type EventSubSubscriptionsParams struct {
Status string `query:"status"`
Type string `query:"type"`
After string `query:"after"`
}

// Parameter for removing a subscription.
Expand Down

0 comments on commit 0c4e5e1

Please sign in to comment.