From 06388e65727c2aaf3ca60d64c014cd25f346536c Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 11 May 2022 08:47:05 +0100 Subject: [PATCH] Add width to screen validation --- packages/server/src/api/routes/utils/validators.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/api/routes/utils/validators.js b/packages/server/src/api/routes/utils/validators.js index 63bdd81ca7..b27bca92cb 100644 --- a/packages/server/src/api/routes/utils/validators.js +++ b/packages/server/src/api/routes/utils/validators.js @@ -161,6 +161,7 @@ exports.screenValidator = () => { return joiValidator.body(Joi.object({ name: Joi.string().required(), showNavigation: OPTIONAL_BOOLEAN, + width: OPTIONAL_STRING, routing: Joi.object({ route: Joi.string().required(), roleId: Joi.string().required().allow(""),