Fix published error when no telegram config
This commit is contained in:
@@ -193,9 +193,11 @@ module.exports = {
|
||||
})
|
||||
}
|
||||
|
||||
if (TELEGRAM_API_TOKEN) {
|
||||
await axios.post(`${MESSAGE_URL}&text=${message}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
afterUpdate: async event => {
|
||||
const {result, state} = event
|
||||
|
||||
Reference in New Issue
Block a user