Pass access token as param to /api/v1/streaming
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
963ffb3d45
commit
08c4d9037e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue