removing unecessary await
This commit is contained in:
parent
260a25f411
commit
59c0c0c89b
@ -80,7 +80,7 @@ async function initRoomApiRouter (options: RegisterServerOptions, router: Router
|
|||||||
affiliations: affiliations
|
affiliations: affiliations
|
||||||
}
|
}
|
||||||
|
|
||||||
await RoomChannel.singleton().link(channelId, jid)
|
RoomChannel.singleton().link(channelId, jid)
|
||||||
|
|
||||||
res.json(roomDefaults)
|
res.json(roomDefaults)
|
||||||
} else {
|
} else {
|
||||||
@ -132,7 +132,7 @@ async function initRoomApiRouter (options: RegisterServerOptions, router: Router
|
|||||||
affiliations: affiliations
|
affiliations: affiliations
|
||||||
}
|
}
|
||||||
|
|
||||||
await RoomChannel.singleton().link(video.channelId, jid)
|
RoomChannel.singleton().link(video.channelId, jid)
|
||||||
|
|
||||||
res.json(roomDefaults)
|
res.json(roomDefaults)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user