Trasforma in stringhe il corpo in JSON del webhook
This commit is contained in:
parent
a472c1bf0a
commit
2cfc0d7fb1
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module.exports = (logger, config, xmpp) => {
|
|||
return res.status(404).send('Webhook not found')
|
||||
}
|
||||
logger.debug(`Webhook received: ${webhook.path}, start action: ${webhook.action}`)
|
||||
logger.trace(req.body)
|
||||
logger.trace(JSON.stringify(req.body))
|
||||
switch (webhook.action) {
|
||||
case 'send_xmpp_message': {
|
||||
// get destination
|
||||
|
|
Loading…
Reference in a new issue