fix: include eventTypeId in BOOKING_CANCELLED event (#12445)

This commit is contained in:
Matt Nicolls authored and GitHub committed 2023-11-22 12:04:51 +00:00
1 parent 2853288f49
commit 9a6683e01d
1 file changed
+1
@@ -227,6 +227,7 @@ async function handler(req: CustomRequest) {
type: bookingToDelete?.eventType?.slug as string,
description: bookingToDelete?.description || "",
customInputs: isPrismaObjOrUndefined(bookingToDelete.customInputs),
eventTypeId: bookingToDelete.eventTypeId as number,
...getCalEventResponses({
bookingFields: bookingToDelete.eventType?.bookingFields ?? null,
booking: bookingToDelete,