feat: add organizer.id to the BOOKING_CREATED webhook for requires confirmation event bookings (#23245)

This commit is contained in:
Somay Chauhan
2025-08-21 08:58:51 +00:00
committed by GitHub
parent 40caa82e55
commit 38f6f71ae0
@@ -212,6 +212,7 @@ export const confirmHandler = async ({ ctx, input }: ConfirmOptions) => {
startTime: booking.startTime.toISOString(),
endTime: booking.endTime.toISOString(),
organizer: {
id: booking.user?.id,
email: booking?.userPrimaryEmail || booking.user?.email || "Email-less",
name: booking.user?.name || "Nameless",
username: booking.user?.username || undefined,