use opts param
This commit is contained in:
parent
8c7aecfa22
commit
0716702646
|
@ -265,7 +265,7 @@ export function screenValidator() {
|
||||||
function generateStepSchema(allowStepTypes: string[]) {
|
function generateStepSchema(allowStepTypes: string[]) {
|
||||||
const branchSchema = Joi.object({
|
const branchSchema = Joi.object({
|
||||||
name: Joi.string().required(),
|
name: Joi.string().required(),
|
||||||
condition: filterObject(false).required().min(1),
|
condition: filterObject({ unknown: false }).required().min(1),
|
||||||
})
|
})
|
||||||
|
|
||||||
return Joi.object({
|
return Joi.object({
|
||||||
|
|
Loading…
Reference in New Issue