strapi-community / strapi-plugin-slugify

A plugin for Strapi Headless CMS that provides the ability to auto slugify a field for any content type.
https://market.strapi.io/plugins/strapi-plugin-slugify
MIT License
45 stars 21 forks source link

fix: broken check for draftAndPublished #36

Closed DomDew closed 2 years ago

DomDew commented 2 years ago

I don't know how I missed this. The Check was implemented in the wrong way and was throwing the ValidationError for contentTypes that have darftAndPublished enabled.

ComfortablyCoding commented 2 years ago

Thanks for catch that, I should probably add some automated tests to prevent this in the future.