mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-22 20:37:17 +02:00
🔒️ Increase rate limit for meeting polls
This commit is contained in:
parent
647ec69fe1
commit
2e64407b62
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue