feat: Adds missing bookingId to Cancel Webhook payload (#11906)
Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
1 parent
225055fb0c
commit
91ac952a72
2 files changed
+3
No files matched your search
@@ -102,6 +102,7 @@ async function getBookingToDelete(id: number | undefined, uid: string | undefine
|
||||
},
|
||||
},
|
||||
uid: true,
|
||||
id: true,
|
||||
eventTypeId: true,
|
||||
destinationCalendar: true,
|
||||
smsReminderNumber: true,
|
||||
@@ -245,6 +246,7 @@ async function handler(req: CustomRequest) {
|
||||
},
|
||||
attendees: attendeesList,
|
||||
uid: bookingToDelete?.uid,
|
||||
bookingId: bookingToDelete?.id,
|
||||
/* Include recurringEvent information only when cancelling all bookings */
|
||||
recurringEvent: allRemainingBookings
|
||||
? parseRecurringEvent(bookingToDelete.eventType?.recurringEvent)
|
||||
|
||||
Reference in new issue
Block a user