From 7aa1d8035c12c4e0b1c09a960f691e7ae3cee6f9 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Wed, 26 Mar 2025 22:54:33 +0530 Subject: [PATCH] fix: update error handling in validateBookingTimeIsNotOutOfBounds function to use HttpError (#20386) --- .../lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.ts b/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.ts index 10b1777dd8..87d658adf1 100644 --- a/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.ts +++ b/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.ts @@ -52,5 +52,5 @@ export const validateBookingTimeIsNotOutOfBounds = async