diff --git a/server/lib/routers/api/room.ts b/server/lib/routers/api/room.ts index fbac8b5e..ad7b7f26 100644 --- a/server/lib/routers/api/room.ts +++ b/server/lib/routers/api/room.ts @@ -80,7 +80,7 @@ async function initRoomApiRouter (options: RegisterServerOptions, router: Router affiliations: affiliations } - await RoomChannel.singleton().link(channelId, jid) + RoomChannel.singleton().link(channelId, jid) res.json(roomDefaults) } else { @@ -132,7 +132,7 @@ async function initRoomApiRouter (options: RegisterServerOptions, router: Router affiliations: affiliations } - await RoomChannel.singleton().link(video.channelId, jid) + RoomChannel.singleton().link(video.channelId, jid) res.json(roomDefaults) }