diff --git a/index.js b/index.js index f32902c..9dc296c 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ app.post('/', async (req, res) => { // hcaptcha failed } else { - console.log(`Failed hCaptcha with errors: ${data.error-codes}`) + console.log(`Failed hCaptcha with errors: ${data['error-codes']`) return res.sendStatus(403) } })