Hi all
I'm having trouble validating using JOI, please correct my code. where was my mistake
For further actions, you may consider blocking this person and/or reporting abuse
Anton Prudkohliad -
Srishti Prasad -
Nicholas Winston -
kazuho cryer-shinozuka -
Top comments (2)
I think the correct syntax is:
return schema.validate(data)
i am using joi from hapijs for validattion