diff --git a/pages/api/bookings/index.ts b/pages/api/bookings/index.ts index b99b3510d5..1bea4249b2 100644 --- a/pages/api/bookings/index.ts +++ b/pages/api/bookings/index.ts @@ -140,7 +140,6 @@ async function createOrlistAllBookings( await Promise.all(promises); res.status(201).json({ booking, message: "Booking created successfully" }); - } else (error: Error) => { console.log(error);