From 9b7b5b967cc1397cac571532d9305642a2bfd195 Mon Sep 17 00:00:00 2001 From: Alex Yang <32620988+DatProJack@users.noreply.github.com> Date: Thu, 12 Sep 2024 22:25:40 -0500 Subject: [PATCH] yes --- src/services/checkin/checkin-router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" });