From f23da77eee6c1b2a8ac1b106fa515291057ef42a Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 10 Oct 2024 14:06:02 +0100 Subject: [PATCH] Merge commit --- packages/server/src/api/routes/utils/validators.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/api/routes/utils/validators.ts b/packages/server/src/api/routes/utils/validators.ts index b589d44b31..7b13beae9f 100644 --- a/packages/server/src/api/routes/utils/validators.ts +++ b/packages/server/src/api/routes/utils/validators.ts @@ -275,8 +275,10 @@ export function screenValidator() { function generateStepSchema(allowStepTypes: string[]) { const branchSchema = Joi.object({ + id: Joi.string().required(), name: Joi.string().required(), condition: filterObject({ unknown: false }).required().min(1), + conditionUI: Joi.object(), }) return Joi.object({