mirror of
https://github.com/strapi/strapi.git
synced 2025-09-17 12:27:33 +00:00
Maintain consistent backend validation for publish and bulk publish
This commit is contained in:
parent
de5394e730
commit
b5d4687c57
@ -186,7 +186,7 @@ module.exports = ({ strapi }) => ({
|
|||||||
return strapi.entityValidator.validateEntityCreation(
|
return strapi.entityValidator.validateEntityCreation(
|
||||||
strapi.getModel(uid),
|
strapi.getModel(uid),
|
||||||
entity,
|
entity,
|
||||||
{ isDraft: true },
|
undefined,
|
||||||
entity
|
entity
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user