diff --git a/src/routes/productTemplates/update.js b/src/routes/productTemplates/update.js index 82095299..39456144 100644 --- a/src/routes/productTemplates/update.js +++ b/src/routes/productTemplates/update.js @@ -21,10 +21,11 @@ const schema = { name: Joi.string().max(255), productKey: Joi.string().max(45), category: Joi.string().max(45), + subCategory: Joi.string().max(45), icon: Joi.string().max(255), brief: Joi.string().max(45), details: Joi.string().max(255), - aliases: Joi.object(), + aliases: Joi.array(), template: Joi.object(), disabled: Joi.boolean().optional(), hidden: Joi.boolean().optional(),