diff --git a/src/api/parole/content-types/parole/lifecycles.js b/src/api/parole/content-types/parole/lifecycles.js index 70e84be..f9a27bb 100644 --- a/src/api/parole/content-types/parole/lifecycles.js +++ b/src/api/parole/content-types/parole/lifecycles.js @@ -193,7 +193,9 @@ module.exports = { }) } - await axios.post(`${MESSAGE_URL}&text=${message}`) + if (TELEGRAM_API_TOKEN) { + await axios.post(`${MESSAGE_URL}&text=${message}`) + } } } },