Skip to content

Commit

Permalink
HOTFIX: 'omitempty'
Browse files Browse the repository at this point in the history
- stop using omitempty query tag value
   i think it messes it up :(
  • Loading branch information
jackmcguire1 committed Jul 26, 2021
1 parent c5e2c33 commit 3a8fed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eventsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +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,omitempty"`
After string `query:"after,omitempty"`
Type string `query:"type"`
After string `query:"after"`
}

// Parameter for removing a subscription.
Expand Down

0 comments on commit 3a8fed5

Please sign in to comment.