Skip to content

Scheduling infrastructure for absolutely everyone.

fix: make isReschedule required in checkIfBookerEmailIsBlocked (#26002)

Dhairyashil Shinde42bd4b4057f4
diff --git a/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.ts b/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.ts
index 689be8d2d1e..5f3d2ee6b0f 100644
--- a/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.ts
+++ b/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.ts
@@ -8,12 +8,12 @@ export const checkIfBookerEmailIsBlocked = async ({
bookerEmail,
loggedInUserId,
verificationCode,
- isReschedule = false,
+ isReschedule,
}: {
bookerEmail: string;
loggedInUserId?: number;
verificationCode?: string;
- isReschedule?: boolean;
+ isReschedule: boolean;
}) => {
const baseEmail = extractBaseEmail(bookerEmail);