Skip to content

Commit ea40b7a

Browse files
bors[bot]NerixyzEmilgardis
authored
Merge #353
353: Update EventSub WebSocket URL r=Emilgardis a=Nerixyz The `-beta` part was removed from the URL (see [announcement](https://discuss.dev.twitch.tv/t/update-required-for-eventsub-websockets-beta-connection-url/45079) - old URL is valid until 2023-May-15). This updates the constant and one URL in a test-case. Co-authored-by: Nerixyz <[email protected]> Co-authored-by: Emil Gardström <[email protected]>
2 parents 8a11798 + cd1c9eb commit ea40b7a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/eventsub/event/websocket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ mod tests {
363363
"id": "AQoQexAWVYKSTIu4ec_2VAxyuhAB",
364364
"status": "reconnecting",
365365
"keepalive_timeout_seconds": null,
366-
"reconnect_url": "wss://eventsub-beta.wss.twitch.tv?...",
366+
"reconnect_url": "wss://eventsub.wss.twitch.tv?...",
367367
"connected_at": "2019-11-16T10:11:12.123Z"
368368
}
369369
}

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub static TWITCH_PUBSUB_URL: once_cell::sync::Lazy<url::Url> =
183183
#[cfg(feature = "eventsub")]
184184
pub static TWITCH_EVENTSUB_WEBSOCKET_URL: once_cell::sync::Lazy<url::Url> = mock_env_url!(
185185
"TWITCH_EVENTSUB_WEBSOCKET_URL",
186-
"wss://eventsub-beta.wss.twitch.tv/ws"
186+
"wss://eventsub.wss.twitch.tv/ws"
187187
);
188188

189189
/// Client for Twitch APIs.

0 commit comments

Comments
 (0)