File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -191,15 +191,13 @@ export class TestScenarios {
191191 const randomStr = Math . random ( ) . toString ( 36 ) . substring ( 2 , 8 ) ;
192192 const roomJid = `testroom_${ timestamp } _${ randomStr } @conference.dev.xmpp.ethoradev.com` ;
193193
194- const response = await axios . post < RoomResponse > ( `${ this . config . apiUrl } /v1/chat/ room` , {
194+ const response = await axios . post < RoomResponse > ( `${ this . config . apiUrl } /v1/room` , {
195195 name : 'Test Room' ,
196196 description : 'Room for automated testing' ,
197- userId,
198- isPrivate : false ,
199197 roomJid
200198 } , {
201199 headers : {
202- 'Authorization ' : this . botUser ?. accessToken || '' ,
200+ 'x-custom-token ' : `JWT ${ this . createServerToken ( ) } ` ,
203201 'x-app-id' : this . config . appId
204202 }
205203 } ) ;
You can’t perform that action at this time.
0 commit comments