feat: release browser lock and await setup
This commit is contained in:
parent
d646087d53
commit
fdd32f8474
5 changed files with 29 additions and 11 deletions
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue