Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
aletya committed Sep 13, 2024
1 parent e8a5bd9 commit 9b7b5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/checkin/checkin-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" });
Expand Down

0 comments on commit 9b7b5b9

Please sign in to comment.