Skip to content

Commit

Permalink
Fix use of global joi in extension doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Sep 25, 2017
1 parent d89a89a commit c1cd0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -400,7 +400,7 @@ const customJoi = Joi.extend((joi) => ({
{
name: 'dividable',
params: {
q: Joi.alternatives([Joi.number().required(), Joi.func().ref()])
q: joi.alternatives([joi.number().required(), joi.func().ref()])
},
validate(params, value, state, options) {

Expand Down

0 comments on commit c1cd0a3

Please sign in to comment.