Skip to content

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

🐛 Set space id when duplicating a poll

Luke Vella3cdaed74c98d
diff --git a/apps/web/src/trpc/routers/polls.ts b/apps/web/src/trpc/routers/polls.ts
index 84ab32cd5..fc1dc352a 100644
--- a/apps/web/src/trpc/routers/polls.ts
+++ b/apps/web/src/trpc/routers/polls.ts
@@ -906,6 +906,7 @@ export const polls = router({
hideParticipants: true,
hideScores: true,
disableComments: true,
+ spaceId: true,
options: {
select: {
startTime: true,
@@ -929,6 +930,7 @@ export const polls = router({
userId: ctx.user.id,
timeZone: poll.timeZone,
location: poll.location,
+ spaceId: poll.spaceId,
description: poll.description,
hideParticipants: poll.hideParticipants,
hideScores: poll.hideScores,