Fix published error when no telegram config

This commit is contained in:
2023-03-05 12:45:13 +04:00
parent 38482fb88e
commit 9d4eefa33b
@@ -193,7 +193,9 @@ module.exports = {
}) })
} }
await axios.post(`${MESSAGE_URL}&text=${message}`) if (TELEGRAM_API_TOKEN) {
await axios.post(`${MESSAGE_URL}&text=${message}`)
}
} }
} }
}, },