Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Store the current locale when submitting a response (#2340)
Luke Vellab9a6070a83f5
diff --git a/apps/web/src/trpc/routers/polls/participants.ts b/apps/web/src/trpc/routers/polls/participants.tsindex 96e811daa..46bc2c9e7 100644--- a/apps/web/src/trpc/routers/polls/participants.ts+++ b/apps/web/src/trpc/routers/polls/participants.ts@@ -262,7 +262,7 @@ export const participants = router({email,timeZone,userId: ctx.user.id,- locale: ctx.user.locale ?? undefined,+ locale: ctx.locale,votes: {createMany: {data: validVotes.map(({ optionId, type }) => ({