Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 Record whether a poll has a video call on poll_create (#3369)
Luke Vella36b9a589d10b
diff --git a/apps/web/src/app/api/v1/[...route]/route.ts b/apps/web/src/app/api/v1/[...route]/route.tsindex 46928ae0f..57e579c35 100644--- a/apps/web/src/app/api/v1/[...route]/route.ts+++ b/apps/web/src/app/api/v1/[...route]/route.ts@@ -571,6 +571,8 @@ app.post(apiVersion: "v1",optionCount: poll.options.length,hasLocation: !!poll.location,+ hasConferencing: !!poll.conferencing,+ conferencingProvider: poll.conferencing?.provider ?? null,hasDescription: !!poll.description,timeZone: poll.timeZone,requireParticipantEmail: input.requireEmail,diff --git a/apps/web/src/trpc/routers/polls.ts b/apps/web/src/trpc/routers/polls.tsindex 0daa4407d..068bec2c3 100644--- a/apps/web/src/trpc/routers/polls.ts+++ b/apps/web/src/trpc/routers/polls.ts@@ -373,6 +373,8 @@ export const polls = router({source: "web",optionCount: poll.options.length,hasLocation: !!location,+ hasConferencing: !!conferencing,+ conferencingProvider: conferencing?.provider ?? null,hasDescription: !!description,timezone: input.timeZone,disableComments: poll.disableComments,