Skip to content

Commit

Permalink
Merge pull request #448 from roy-zahor/gate_system
Browse files Browse the repository at this point in the history
Allow exit
  • Loading branch information
roy-zahor authored May 28, 2017
2 parents 5b73007 + 93cadd5 commit 2ed5388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/api_gate_routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ed5388

Please sign in to comment.