diff --git a/src/services/checkin/checkin-router.ts b/src/services/checkin/checkin-router.ts index 8131808..bbcfada 100644 --- a/src/services/checkin/checkin-router.ts +++ b/src/services/checkin/checkin-router.ts @@ -54,7 +54,7 @@ checkinRouter.post( .status(StatusCodes.NOT_FOUND) .json({ error: "UserNotFound" }); } - if (attendee.hasCheckedIn === true) { + if (attendee.hasCheckedIn) { return res .status(StatusCodes.BAD_REQUEST) .json({ error: "AlreadyCheckedIn" });