From 59c0c0c89b2b918ea4becdae44bd4bed73ebc7c4 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Mon, 18 Sep 2023 15:10:20 +0200 Subject: [PATCH] removing unecessary await --- server/lib/routers/api/room.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }