Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 Track cancel event
Luke Vellaac75e690a87c
diff --git a/apps/web/src/features/scheduled-event/actions.ts b/apps/web/src/features/scheduled-event/actions.tsindex 2195a28e1..4d4b453c2 100644--- a/apps/web/src/features/scheduled-event/actions.ts+++ b/apps/web/src/features/scheduled-event/actions.ts@@ -45,6 +45,14 @@ export const cancelEventAction = authActionClientrevalidatePath("/", "layout");+ ctx.posthog?.capture({+ event: "cancel_event",+ distinctId: ctx.user.id,+ properties: {+ event_id: parsedInput.eventId,+ },+ });+// notify attendeesconst attendees = await prisma.scheduledEventInvite.findMany({where: {