Skip to content
Advertisement

TypeError Joi.validate is not a function

look

please help with that i am not sure what is happening im using the following:

JavaScript

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

Advertisement