parent
7d76917591
commit
c84cbd240d
|
@ -203,7 +203,7 @@ climbingRoutesRouter.post('/', async (req: Request, res: Response) => {
|
||||||
if (isNaN(gym_id) || !name || !difficulty || !captcha_token) {
|
if (isNaN(gym_id) || !name || !difficulty || !captcha_token) {
|
||||||
res.status(400).send({
|
res.status(400).send({
|
||||||
'message': 'Missing parameters',
|
'message': 'Missing parameters',
|
||||||
'query_params': req.query.toString()
|
'query_params': req.query
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user