From 69100a0fe8ba756b7b2f0c4022473ea8a35093fc Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 8 Nov 2022 16:12:31 +0000 Subject: [PATCH] Hotfix foundConflict = false on init --- packages/features/bookings/lib/handleNewBooking.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/bookings/lib/handleNewBooking.ts b/packages/features/bookings/lib/handleNewBooking.ts index d0c0fa4262..19d4a82941 100644 --- a/packages/features/bookings/lib/handleNewBooking.ts +++ b/packages/features/bookings/lib/handleNewBooking.ts @@ -241,7 +241,7 @@ async function ensureAvailableUsers( console.log("calendarBusyTimes==>>>", bufferedBusyTimes); - let foundConflict = true; + let foundConflict = false; try { if (eventType.recurringEvent) { const recurringEvent = parseRecurringEvent(eventType.recurringEvent);