From 681d1915374b0e1bdc708abac55b4482c8e953ad Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 06:05:51 +0000 Subject: [PATCH] fix: ensure metadata key is always present in BOOKING_CREATED webhook payload (#27300) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: ali@cal.com Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> --- packages/features/bookings/lib/handleConfirmation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/bookings/lib/handleConfirmation.ts b/packages/features/bookings/lib/handleConfirmation.ts index 8f7bf89ffd..74112ff8a5 100644 --- a/packages/features/bookings/lib/handleConfirmation.ts +++ b/packages/features/bookings/lib/handleConfirmation.ts @@ -577,7 +577,7 @@ export async function handleConfirmation(args: { eventTypeId: eventType?.id, status: "ACCEPTED", smsReminderNumber: booking.smsReminderNumber || undefined, - metadata: meetingUrl ? { videoCallUrl: meetingUrl } : undefined, + metadata: meetingUrl ? { videoCallUrl: meetingUrl } : {}, ...(platformClientParams ? platformClientParams : {}), };