mirror of
https://github.com/strapi/strapi.git
synced 2025-09-17 20:40:17 +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(
|
||||
strapi.getModel(uid),
|
||||
entity,
|
||||
{ isDraft: true },
|
||||
undefined,
|
||||
entity
|
||||
);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user