This commit is contained in:
parent
e98d1d48ab
commit
af8f77a268
|
@ -31,7 +31,6 @@ routeRatingsRouter.post('/', async (req: Request, res: Response) => {
|
|||
let captcha_token = req.query['h-captcha-response'] as string;
|
||||
|
||||
if (!route_id || isNaN(stars) || !captcha_token) {
|
||||
console.log(route_id, stars, captcha_token);
|
||||
res.status(400).send({'message': 'Missing parameters'});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user