Scheduling infrastructure for absolutely everyone.
fix: videoCallUrl missing in webhooks for event types that require confirmation (#12856)
Somay Chauhanf1caaad5360a
diff --git a/packages/features/bookings/lib/handleConfirmation.ts b/packages/features/bookings/lib/handleConfirmation.tsindex debc12ec32d..cc71c27041c 100644--- a/packages/features/bookings/lib/handleConfirmation.ts+++ b/packages/features/bookings/lib/handleConfirmation.ts@@ -330,6 +330,7 @@ export async function handleConfirmation(args: {eventTypeId: booking.eventType?.id,status: "ACCEPTED",smsReminderNumber: booking.smsReminderNumber || undefined,+ metadata: evt.videoCallData?.url ? { videoCallUrl: evt.videoCallData.url } : undefined,}).catch((e) => {console.error(`Error executing webhook for event: ${WebhookTriggerEvents.BOOKING_CREATED}, URL: ${sub.subscriberUrl}`,