From c84cbd240dd95b50d20500af43943f80e8967906 Mon Sep 17 00:00:00 2001 From: Patrick Mueller Date: Tue, 11 Jan 2022 17:27:55 +0100 Subject: [PATCH] Paddy stupid --- .../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 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; }