From 578032c8a67afe47733ceb772de99f518d831d20 Mon Sep 17 00:00:00 2001 From: Patrick Mueller Date: Tue, 11 Jan 2022 17:09:22 +0100 Subject: [PATCH] Debugging routes POST --- .../climbing_routes/climbingRoutes.router.ts | 3 ++- 1 file changed, 2 insertions(+), 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 600e7bc..25b48e0 100644 --- a/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts +++ b/src/models/climbing-route-rating/climbing_routes/climbingRoutes.router.ts @@ -216,7 +216,8 @@ climbingRoutesRouter.post('/', async (req: Request, res: Response) => { res.status(400).send({ 'message': 'Missing parameters', - 'missing': missing + 'missing': missing, + 'value': gym_id }); return; }