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
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Anderson Bosa -
oliviarizona -
oliviarizona -
Ahmad Tibibi -
Top comments (2)
I think the correct syntax is:
return schema.validate(data)
i am using joi from hapijs for validattion