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 9e38339..34c8658 100644 --- a/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts +++ b/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts @@ -217,7 +217,7 @@ climbingRoutesRouter.post('/', async (req: Request, res: Response) => { res.status(400).send({ 'message': 'Missing parameters', 'missing': missing, - 'value': gym_id + 'value': req.query.gym_id }); return; }