Fix math
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 1m10s
Test, Build, Deploy / Create Sentry Release (push) Successful in 7s

This commit is contained in:
2026-06-02 18:42:19 -04:00
parent 2ae11670de
commit 472299d4f5
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ export async function loader({ context }: { context: RequestContext }) {
}, },
}); });
return preBookedEvents > 3; return preBookedEvents >= 3;
} }
export default function () { export default function () {

View File

@@ -33,7 +33,7 @@ export async function onRequestPost(context: RequestContext) {
month: currentMonth, month: currentMonth,
year: currentYear, year: currentYear,
}, },
})) > 3 })) >= 3
) )
return jsonError("Too many events scheduled", 403); return jsonError("Too many events scheduled", 403);