[eventsub] Fix: Fetching existing subscriptions broken

as of fetch must not specify more than one filter

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-04-03 13:14:44 +02:00
parent f76cbebda3
commit 262742603c
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -324,7 +324,6 @@ func (c *Client) createEventSubSubscription(ctx context.Context, auth AuthType,
if mustFetchSubsctiption { if mustFetchSubsctiption {
params := make(url.Values) params := make(url.Values)
params.Set("status", "enabled") params.Set("status", "enabled")
params.Set("type", sub.Type)
if err = c.Request(ctx, ClientRequestOpts{ if err = c.Request(ctx, ClientRequestOpts{
AuthType: auth, AuthType: auth,