From 20c0fb9ecbf9c2d2a20353768c0703ac3127d08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Famibelle-Pronzola?= Date: Fri, 14 Jul 2023 05:52:37 +0400 Subject: [PATCH] Add space to telegram publication --- 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 49f8a97..9507a33 100644 --- a/src/api/parole/content-types/parole/lifecycles.js +++ b/src/api/parole/content-types/parole/lifecycles.js @@ -174,7 +174,7 @@ module.exports = { const previousPublishedAt = previousData.publishedAt const currentPublished_at = data.publishedAt if (currentPublished_at != previousPublishedAt) { - const message = `Nouvelle publication ❤️ + const message = `Nouvelle publication ❤️ \n${process.env.WEBSITE_URL}/paroles/${previousData.slug}` if (previousData.user) { strapi.plugins['email'].services.email.send({