strapi create controller auto publish entry

 go to the schema for the particular content type and add 

“options”: {
“draftAndPublish”: false
},

Leave a Comment

Your email address will not be published. Required fields are marked *