mirror of
https://github.com/strapi/strapi.git
synced 2025-11-12 08:08:05 +00:00
fix: remove default from schema
This commit is contained in:
parent
dbdc13245b
commit
3b523f1e01
@ -23,7 +23,6 @@ const validateUpdateStageOnEntity = yup
|
|||||||
|
|
||||||
const validateWorkflowCreateSchema = yup.object().shape({
|
const validateWorkflowCreateSchema = yup.object().shape({
|
||||||
name: yup.string().max(255).required(),
|
name: yup.string().max(255).required(),
|
||||||
default: yup.boolean().default(false),
|
|
||||||
stages: yup.array().of(stageObject),
|
stages: yup.array().of(stageObject),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user