removing unecessary await

This commit is contained in:
John Livingston 2023-09-18 15:10:20 +02:00
parent 260a25f411
commit 59c0c0c89b
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -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)
}