Adds debug console.log

pull/9078/head
Syed Ali Shahbaz 2022-06-13 13:24:21 +05:30 committed by GitHub
parent 6872107614
commit b385d3547b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ async function createOrlistAllBookings(
}) })
); );
await Promise.all(promises); await Promise.all(promises);
console.log("All promises resolved! About to send the response");
res.status(201).json({ booking, message: "Booking created successfully" }); res.status(201).json({ booking, message: "Booking created successfully" });
} else } else
(error: Error) => { (error: Error) => {