Adding to JOI the layoutId.
This commit is contained in:
parent
55aecdd850
commit
b29f06db1f
|
@ -24,6 +24,7 @@ function generateSaveValidation() {
|
|||
_styles: Joi.object().required(),
|
||||
type: Joi.string().optional(),
|
||||
table: Joi.string().optional(),
|
||||
layoutId: Joi.string().optional(),
|
||||
}).required().unknown(true),
|
||||
}).unknown(true))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue