Skip to content

Scheduling infrastructure for absolutely everyone.

Adds debug console.log

Syed Ali Shahbazb385d3547bf4
diff --git a/pages/api/bookings/index.ts b/pages/api/bookings/index.ts
index e31a0178014..ab85b339cd2 100644
--- a/pages/api/bookings/index.ts
+++ b/pages/api/bookings/index.ts
@@ -142,7 +142,7 @@ async function createOrlistAllBookings(
})
);
await Promise.all(promises);
-
+ console.log("All promises resolved! About to send the response");
res.status(201).json({ booking, message: "Booking created successfully" });
} else
(error: Error) => {