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:
parent
7954f6bf33
commit
c39ff3f9f5
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue