Skip to content

Commit

Permalink
fix function not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
brentchang committed Jul 28, 2024
1 parent 3d0f7a1 commit 7e459ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/BrentController.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function postTrailBookAction (req, res) {

// verify input data
if (!trailId || !from || !to || !adults || !children || adults <= 0 || children < 0) {
return res.end('Invalid input data!').status(400);
return res.end('Invalid input data!');
}

// convert the parking to boolean
Expand Down

0 comments on commit 7e459ec

Please sign in to comment.