CRR: Fixing captcha http parameter
Jenkins Production Deployment

This commit is contained in:
Paddy committed 2022-01-09 15:12:34 +01:00
1 parent 25a66b060c
commit e98d1d48ab
4 files changed
+7 -6

No files matched your search

@@ -33,7 +33,7 @@ climbingGymRouter.post('/', async (req: Request, res: Response) => {
try {
let name = req.query.name as string;
let city = req.query.city as string;
let captcha_token = req.query.captcha_token as string;
let captcha_token = req.query['h-captcha-response'] as string;
if (!name || !city || !captcha_token) {
res.status(400).send({'message': 'Missing parameters'});