Fix math
This commit is contained in:
@@ -33,7 +33,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
month: currentMonth,
|
||||
year: currentYear,
|
||||
},
|
||||
})) > 3
|
||||
})) >= 3
|
||||
)
|
||||
return jsonError("Too many events scheduled", 403);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user