Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Send poll response confirmation email in respondent's locale (#2356)

Luke Vella26e655324f68
diff --git a/apps/web/src/trpc/routers/polls/participants.ts b/apps/web/src/trpc/routers/polls/participants.ts
index 46bc2c9e7..b020fec46 100644
--- a/apps/web/src/trpc/routers/polls/participants.ts
+++ b/apps/web/src/trpc/routers/polls/participants.ts
@@ -308,7 +308,7 @@ export const participants = router({
const space = participant.poll.space;
const emailClient = await getEmailClient({
- locale: ctx.user.locale ?? undefined,
+ locale: ctx.locale,
...(space?.showBranding
? {
primaryColor: space.primaryColor ?? undefined,