Fix rescheduleUid type

This commit is contained in:
Joe Au-Yeung 2023-12-15 22:15:50 -05:00
parent 553441f552
commit a73dabbfa2

View File

@ -24,7 +24,8 @@ import type { Booking, createLoggerWithEventDetails } from "../handleNewBooking"
import lastAttendeeDeleteBooking from "./lib/lastAttendeeDeleteBooking";
const handleRescheduledSeatedEvent = async (
seatedEventObject: NewSeatedBookingObject,
// If this function is being called then rescheduleUid is defined
seatedEventObject: NewSeatedBookingObject & { rescheduleUid: string },
seatedBooking: SeatedBooking,
resultBooking: HandleSeatsResultBooking | null,
loggerWithEventDetails: ReturnType<typeof createLoggerWithEventDetails>