Update handleNewBooking.ts (#12081)

pull/12078/head
Syed Ali Shahbaz 2023-10-25 17:21:14 +04:00 committed by GitHub
parent efc7be0b6b
commit 1929b23ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2378,6 +2378,7 @@ async function handler(
...eventTypeInfo, ...eventTypeInfo,
bookingId: booking?.id, bookingId: booking?.id,
rescheduleUid, rescheduleUid,
oldBookingId: originalRescheduledBooking?.id || undefined,
rescheduleStartTime: originalRescheduledBooking?.startTime rescheduleStartTime: originalRescheduledBooking?.startTime
? dayjs(originalRescheduledBooking?.startTime).utc().format() ? dayjs(originalRescheduledBooking?.startTime).utc().format()
: undefined, : undefined,