Merge branch 'main' into production

This commit is contained in:
Syed Ali Shahbaz
2022-06-13 13:29:51 +05:30
+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) => {