From 1fcf6fbd81696c0d06065465913f75fa9610bcb1 Mon Sep 17 00:00:00 2001 From: Patrick Mueller Date: Tue, 11 Jan 2022 17:16:39 +0100 Subject: [PATCH] More debugging the gym_id --- .../climbing_routes/climbingRoutes.router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }