use opts param

This commit is contained in:
Peter Clement 2024-09-03 21:31:38 +01:00
parent 8c7aecfa22
commit 0716702646
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ export function screenValidator() {
function generateStepSchema(allowStepTypes: string[]) {
const branchSchema = Joi.object({
name: Joi.string().required(),
condition: filterObject(false).required().min(1),
condition: filterObject({ unknown: false }).required().min(1),
})
return Joi.object({