Merge branch 'fork' into pl-api

This commit is contained in:
marcin mikołajczak 2024-08-04 17:27:31 +02:00
commit 3b87810f85

View file

@ -103,7 +103,7 @@ const getStream = (
reconnected: ((this: WebSocket, ev: Event) => any); 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); const ws = new WebSocketClient(`${streamingAPIBaseURL}/api/v1/streaming/?${params.join('&')}`, accessToken as any);