Adds debug console.log

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