We’re you able to fix the Joi validation code? If so, could you share you code. Mine is still not working. Pls, share your validation.js and listings.js files code. I’ll like to see if there’s something I’m doing wrong.
Don’t know if its too late or for the sake future references, Joi no longer supports joi.validate() function.
Solution:
In the backend source code, under routes/listings.js, you convert the schema into a Joi object like this: