From 29141ad9ffe41fe24c5ece5c0c7ed8cf795e1bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sun, 15 May 2022 00:34:23 +0400 Subject: [PATCH] Fix tit to titre --- src/api/parole/content-types/parole/lifecycles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/parole/content-types/parole/lifecycles.js b/src/api/parole/content-types/parole/lifecycles.js index d2937b7..c98c19f 100644 --- a/src/api/parole/content-types/parole/lifecycles.js +++ b/src/api/parole/content-types/parole/lifecycles.js @@ -145,7 +145,7 @@ module.exports = { validateParoles(currentData.titre, currentData.transcription) if(!data.publishedAt) { - if (data.tit && !data.forceSlug) { + if (data.titre && !data.forceSlug) { const artiste = await jwennAwtisEpiId(data.artistes) data.slug = getSlug(artiste, data.titre) }