Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Update poll status when finalizing
Luke Vellaa80460814e1a
diff --git a/packages/backend/trpc/routers/polls.ts b/packages/backend/trpc/routers/polls.tsindex 67619f160..971d8a502 100644--- a/packages/backend/trpc/routers/polls.ts+++ b/packages/backend/trpc/routers/polls.ts@@ -555,6 +555,7 @@ export const polls = router({id: input.pollId,},data: {+ status: "finalized",event: {create: {optionId: input.optionId,