File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " stoat.js" ,
3- "version" : " 7.3.3 " ,
3+ "version" : " 7.3.4 " ,
44 "type" : " module" ,
55 "exports" : {
66 "." : " ./lib/index.js"
Original file line number Diff line number Diff line change @@ -802,11 +802,11 @@ export class Channel {
802802 * @param recipients Ring targets
803803 * @returns LiveKit URL and Token
804804 */
805- async joinCall ( node ?: string , 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,
809- recipients : recipients . map ( entry => typeof entry === 'string' ? entry : entry . id ) ,
809+ recipients : recipients ? .map ( entry => typeof entry === 'string' ? entry : entry . id ) ,
810810 force_disconnect : forceDisconnect
811811 } ) ;
812812 }
You can’t perform that action at this time.
0 commit comments