diff --git a/src/routes/v1/resources/units.js b/src/routes/v1/resources/units.js index 59cf9b27..6d12eb73 100644 --- a/src/routes/v1/resources/units.js +++ b/src/routes/v1/resources/units.js @@ -12,6 +12,7 @@ const querySchema = Joi.object() .keys({ page: Joi.number(), limit: Joi.number(), + search: Joi.string(), columns: Joi.alternatives().try( Joi.array().items(Joi.string()).single(), ),