update stripe webhooks url

This commit is contained in:
Matteo Pagliazzi 2017-03-19 20:20:05 +01:00
parent f3fab88f0b
commit 771d8f492a

View file

@ -89,7 +89,7 @@ api.subscribeCancel = {
api.handleWebhooks = {
method: 'POST',
url: '/stripe/webhook',
url: '/stripe/webhooks',
async handler (req, res) {
await stripePayments.handleWebhooks({requestBody: req.body});