Disallow fuzzyOr and documentType
This commit is contained in:
parent
8d1c658c7c
commit
c6f7f0133d
|
@ -97,6 +97,8 @@ function filterObject() {
|
||||||
notContains: Joi.object().optional(),
|
notContains: Joi.object().optional(),
|
||||||
containsAny: Joi.object().optional(),
|
containsAny: Joi.object().optional(),
|
||||||
allOr: Joi.boolean().optional(),
|
allOr: Joi.boolean().optional(),
|
||||||
|
fuzzyOr: Joi.disallow(),
|
||||||
|
documentType: Joi.disallow(),
|
||||||
}
|
}
|
||||||
return Joi.object(filtersValidators).unknown(true)
|
return Joi.object(filtersValidators).unknown(true)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue