Skip to content

Commit

Permalink
fix: videoCallUrl missing in webhooks for event types that require co…
Browse files Browse the repository at this point in the history
…nfirmation
  • Loading branch information
SomayChauhan committed Dec 18, 2023
1 parent e1a9576 commit 2f1b62b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/features/bookings/lib/handleConfirmation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit 2f1b62b

Please sign in to comment.