1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

change: use final eventsub url for twitch eventsub

This commit is contained in:
Ash Keel 2023-05-17 18:44:59 +02:00
parent 7954f6bf33
commit c39ff3f9f5

View file

@ -8,11 +8,10 @@ import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/nicklaw5/helix/v2"
"go.uber.org/zap" "go.uber.org/zap"
) )
const websocketEndpoint = "wss://eventsub-beta.wss.twitch.tv/ws" const websocketEndpoint = "wss://eventsub.wss.twitch.tv/ws"
func (c *Client) eventSubLoop(userClient *helix.Client) { func (c *Client) eventSubLoop(userClient *helix.Client) {
endpoint := websocketEndpoint endpoint := websocketEndpoint