console logs

This commit is contained in:
2023-03-11 21:57:32 +01:00
parent 65cc1e8a61
commit 3826573d20
+1
View File
@@ -122,6 +122,7 @@ router.post(
(req, res) => {
const errors = validationResult(req)
if (!errors.isEmpty()) {
console.log('esdfsdfjhkldflkj')
console.error(JSON.stringify(errors))
return res.status(400).json({ errors: errors.array() })
}