Skip to content

Commit 1c8e420

Browse files
committed
fix: incorrect signature for Channel#joinCall
1 parent fcc8b0e commit 1c8e420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/Channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ export class Channel {
802802
* @param recipients Ring targets
803803
* @returns LiveKit URL and Token
804804
*/
805-
async joinCall(node = undefined, forceDisconnect = true, recipients: (User | string)[]) {
805+
async joinCall(node?: string, forceDisconnect = true, recipients: (User | string)[] = []) {
806806
return await this.#collection.client.api.post(
807807
`/channels/${this.id as ''}/join_call`, {
808808
node,

0 commit comments

Comments
 (0)