mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 08:40:01 +00:00
[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:
parent
f76cbebda3
commit
262742603c
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue