From 2d301620ef4513550411daf96a4adf5c2653d45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 14 May 2022 19:48:07 +0400 Subject: [PATCH] Remove log in lifecycles artistes --- src/api/artiste/content-types/artiste/lifecycles.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/artiste/content-types/artiste/lifecycles.js b/src/api/artiste/content-types/artiste/lifecycles.js index ffb51a2..38087d2 100644 --- a/src/api/artiste/content-types/artiste/lifecycles.js +++ b/src/api/artiste/content-types/artiste/lifecycles.js @@ -19,10 +19,8 @@ const jwennAwtisEpiId = async id => { module.exports = { beforeUpdate: async event => { - console.log('event', event) let {data} = event.params - if(!data.publishedAt) { if (!data.slug || data.slug !== slugify(data.alias, {lower: true, remove: /[*#+~.()'"!:@]/g})) { data.slug = slugify(data.alias, {lower: true, remove: /[*#+~.()'"!:@]/g})