diff --git a/lib/webhook/index.js b/lib/webhook/index.js index a285148..f0e3941 100644 --- a/lib/webhook/index.js +++ b/lib/webhook/index.js @@ -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