Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔒️ Increase update poll rate limit
Luke Vellae8005a6911bf
diff --git a/apps/web/src/trpc/routers/polls.ts b/apps/web/src/trpc/routers/polls.tsindex 300a41b87..bdce425b3 100644--- a/apps/web/src/trpc/routers/polls.ts+++ b/apps/web/src/trpc/routers/polls.ts@@ -287,7 +287,7 @@ export const polls = router({}),).use(requireUserMiddleware)- .use(createRateLimitMiddleware("update_poll", 5, "1 m"))+ .use(createRateLimitMiddleware("update_poll", 10, "1 m")).use(async ({ ctx, input, next }) => {const isFlaggedContent = await moderateContent([input.title,