Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayroid committed Dec 11, 2023
1 parent 6ebbdb7 commit cd0761a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/ipServerController.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ const confirmBookingStatus = async (req, res) => {
}

// 3. CHECKING IF SPOT IS ALREADY BOOKED
if (spot[0].parkingStatus !== "booked") {
return res.status(StatusCodes.BAD_REQUEST).send("Spot not Pre-Booked!");
}
// if (spot[0].parkingStatus !== "booked") {
// return res.status(StatusCodes.BAD_REQUEST).send("Spot not Pre-Booked!");
// }

// 4. CHECK IF PARKING SPOT IS ALREADY PARKED
if (spot[0].parkingStatus === "parked") {
Expand Down

0 comments on commit cd0761a

Please sign in to comment.