mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-11 03:30:59 -05:00
Fix being able to check in twice
This commit is contained in:
parent
39b58adfc4
commit
790b04ce1f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user