feat: release browser lock and await setup

This commit is contained in:
Anton Voylenko 2024-12-03 01:17:47 +02:00
commit fdd32f8474
5 changed files with 29 additions and 11 deletions

View file

@ -18,7 +18,7 @@ const startSession = async (req, res) => {
// #swagger.description = 'Starts a session for the given session ID.'
try {
const sessionId = req.params.sessionId
const setupSessionReturn = setupSession(sessionId)
const setupSessionReturn = await setupSession(sessionId)
if (!setupSessionReturn.success) {
/* #swagger.responses[422] = {
description: "Unprocessable Entity.",