mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-19 09:44:50 -05:00
Fix being able to check in twice
This commit is contained in:
@@ -170,6 +170,7 @@ export const action: ActionFunction = async ({ request, params }) => {
|
||||
}
|
||||
case "CHECK_IN": {
|
||||
validate(ownTeam);
|
||||
validate(!ownTeam.checkedInAt, "You have already checked in");
|
||||
validateCanCheckIn({
|
||||
event,
|
||||
team: ownTeam,
|
||||
|
||||
Reference in New Issue
Block a user