Fixed logging bug
parent
931a3e6165
commit
cc8b033078
2
index.js
2
index.js
|
@ -59,7 +59,7 @@ app.post('/', async (req, res) => {
|
||||||
|
|
||||||
// hcaptcha failed
|
// hcaptcha failed
|
||||||
} else {
|
} else {
|
||||||
console.log(`Failed hCaptcha with errors: ${data.error-codes}`)
|
console.log(`Failed hCaptcha with errors: ${data['error-codes']`)
|
||||||
return res.sendStatus(403)
|
return res.sendStatus(403)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue