fix: set event type description correctly in the confirmation mail (#28827)

This commit is contained in:
Bandhan Majumder authored and GitHub committed 2026-04-20 21:59:41 +05:30
1 parent 88859e4e31
commit 810ad0edb8
1 file changed
+1 -1
@@ -233,7 +233,7 @@ export const confirmHandler = async ({ ctx, input }: ConfirmOptions) => {
const evt: CalendarEvent = {
type: booking?.eventType?.slug as string,
title: booking.title,
description: booking.description,
description: booking.eventType?.description ?? null,
bookerUrl,
// TODO: Remove the usage of `bookingFields` in computing responses. We can do that by storing `label` with the response. Also, this would allow us to correctly show the label for a field even after the Event Type has been deleted.
...getCalEventResponses({