please help with that i am not sure what is happening im using the following:
"body-parser": "1.19.0", "express": "4.17.1", "joi": "17.1.1"
but it is only the joi that im having issues with
Advertisement
Answer
Try schema.validate
instead of Joi.validate
Reference: https://joi.dev/api#example