diff --git a/src/stream.ts b/src/stream.ts index 7afe7c39d..195e4c3e2 100644 --- a/src/stream.ts +++ b/src/stream.ts @@ -103,7 +103,7 @@ const getStream = ( reconnected: ((this: WebSocket, ev: Event) => any); }, ) => { - const params = [ `stream=${stream}` ]; + const params = [ `access_token=${accessToken}`, `stream=${stream}` ]; const ws = new WebSocketClient(`${streamingAPIBaseURL}/api/v1/streaming/?${params.join('&')}`, accessToken as any);