mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-18 16:34:27 -04:00
fix: incorrect signature for Channel#joinCall
This commit is contained in:
@@ -802,7 +802,7 @@ export class Channel {
|
||||
* @param recipients Ring targets
|
||||
* @returns LiveKit URL and Token
|
||||
*/
|
||||
async joinCall(node = undefined, forceDisconnect = true, recipients: (User | string)[]) {
|
||||
async joinCall(node?: string, forceDisconnect = true, recipients: (User | string)[] = []) {
|
||||
return await this.#collection.client.api.post(
|
||||
`/channels/${this.id as ''}/join_call`, {
|
||||
node,
|
||||
|
||||
Reference in New Issue
Block a user