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,9 +193,11 @@ module.exports = {
})
}
if (TELEGRAM_API_TOKEN) {
await axios.post(`${MESSAGE_URL}&text=${message}`)
}
}
}
},
afterUpdate: async event => {
const {result, state} = event