Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix: include eventTypeId in BOOKING_CANCELLED event (calcom#12445)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolls1 authored Nov 22, 2023
1 parent 2853288 commit 9a6683e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/features/bookings/lib/handleCancelBooking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a6683e

Please sign in to comment.