1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00

Disallow fuzzyOr and documentType

This commit is contained in:
Adria Navarro 2024-08-07 13:57:54 +02:00
parent 8d1c658c7c
commit c6f7f0133d

View file

@ -97,6 +97,8 @@ function filterObject() {
notContains: Joi.object().optional(),
containsAny: Joi.object().optional(),
allOr: Joi.boolean().optional(),
fuzzyOr: Joi.disallow(),
documentType: Joi.disallow(),
}
return Joi.object(filtersValidators).unknown(true)
}