🔒️ Increase rate limit for meeting polls

This commit is contained in:
Luke Vella 2025-04-01 21:24:37 +01:00
parent 647ec69fe1
commit 2e64407b62
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -150,7 +150,7 @@ export const polls = router({
}),
)
.use(requireUserMiddleware)
.use(createRateLimitMiddleware("create_poll", 10, "1 h"))
.use(createRateLimitMiddleware("create_poll", 20, "1 h"))
.use(async ({ ctx, input, next }) => {
const isFlaggedContent = await moderateContent([
input.title,