diff --git a/lib/slug-generator.js b/lib/slug-generator.js index b50b6af..39301ab 100644 --- a/lib/slug-generator.js +++ b/lib/slug-generator.js @@ -81,8 +81,6 @@ module.exports = function (schema, options) { values.push(doc[item]); }); - console.log(doc[item.name], !doc[item.name] || !(item.permanent && doc[item.name])); - if (!(item.unique || item.unique_slug)) { if (!doc[item.name] || !(item.permanent && doc[item.name])) { doc[item.name] = makeSlug(values, opts);