diff --git a/pkg/twitch/eventsub.go b/pkg/twitch/eventsub.go index 7009d1c..6d798ab 100644 --- a/pkg/twitch/eventsub.go +++ b/pkg/twitch/eventsub.go @@ -487,7 +487,10 @@ func (c *Client) getEventSubSubscriptions(ctx context.Context) ([]eventSubSubscr } params.Set("after", resp.Pagination.Cursor) - resp.Pagination.Cursor = "" // Clear from struct as struct is reused + + // Clear from struct as struct is reused + resp.Data = nil + resp.Pagination.Cursor = "" } return out, nil