diff --git a/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts b/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts index 3e6f4aa..559d756 100644 --- a/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts +++ b/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts @@ -203,7 +203,7 @@ climbingRoutesRouter.post('/', async (req: Request, res: Response) => { if (isNaN(gym_id) || !name || !difficulty || !captcha_token) { res.status(400).send({ 'message': 'Missing parameters', - 'query_params': req.query.toString() + 'query_params': req.query }); return; }