Adds debug console.log

This commit is contained in:
Syed Ali Shahbaz
2022-06-13 13:24:21 +05:30
committed by GitHub
parent 6872107614
commit b385d3547b
+1 -1
View File
@@ -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) => {