diff --git a/routes/api_gate_routes.js b/routes/api_gate_routes.js index 6ff0bd392..3c946547f 100644 --- a/routes/api_gate_routes.js +++ b/routes/api_gate_routes.js @@ -204,9 +204,9 @@ router.post('/gate-exit', async function (req, res) { return sendError(res, 500, "USER_OUTSIDE_EVENT"); } - if (gate_status === "regular") { - return sendError(res, 500, "EXIT_NOT_ALLOWED"); - } + // if (gate_status === "regular") { + // return sendError(res, 500, "EXIT_NOT_ALLOWED"); + // } // Saving the exit. ticket.attributes.inside_event = false;