chore: add check for booking (#15740)
* chore: add check * chore: missting no shoe
This commit is contained in:
1 parent
7b24972900
commit
563141b295
2 files changed
+3
-3
No files matched your search
@@ -93,7 +93,7 @@ export const useBookings = ({ event, hashedLink, bookingForm, metadata, teamMemb
|
||||
function refactorMeWithoutEffect() {
|
||||
const data = _instantBooking.data;
|
||||
|
||||
if (!data) return;
|
||||
if (!data || !data.booking) return;
|
||||
try {
|
||||
const locationVideoCallUrl: string | undefined = bookingMetadataSchema.parse(
|
||||
data.booking?.metadata || {}
|
||||
|
||||
@@ -7,9 +7,9 @@ type NoShowOptions = {
|
||||
};
|
||||
|
||||
export const noShowHandler = async ({ input }: NoShowOptions) => {
|
||||
const { bookingUid, attendees } = input;
|
||||
const { bookingUid, attendees, noShowHost } = input;
|
||||
|
||||
return handleMarkNoShow({ bookingUid, attendees });
|
||||
return handleMarkNoShow({ bookingUid, attendees, noShowHost });
|
||||
};
|
||||
|
||||
export default noShowHandler;
|
||||
Reference in new issue
Block a user