fix: incorrect signature for Channel#joinCall

This commit is contained in:
izzy
2025-10-22 21:07:19 +01:00
parent fcc8b0e195
commit 1c8e4201cb
+1 -1
View File
@@ -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,