diff --git a/modules/app/controllers/webhook.js b/modules/app/controllers/webhook.js index 8db737e7..ef331a04 100644 --- a/modules/app/controllers/webhook.js +++ b/modules/app/controllers/webhook.js @@ -730,11 +730,7 @@ exports.updateWebhook = (req, res) => { return res.json(req.body) break default: - return res.status(400).send({ - error: { - message: 'Not recognized event type' - } - }) + return res.json(req.body) break case 'invoice.payment_succeeded': return models.User.findOne(