Closed JoeScho closed 4 years ago
Use schema.validate instead of Joi.validate
This fixes the issue when using enjoi:
TypeError: Joi.validate is not a function at validate (<...my_path>\node_modules\enjoi\index.js:18:33)
Use schema.validate instead of Joi.validate
This fixes the issue when using enjoi: