mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Ensured webhook handler uses members servicer getter
no-issue
This commit is contained in:
parent
0de68a0919
commit
18285613c9
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module.exports = function setupSiteApp(options = {}) {
|
|||
res.end(err.message);
|
||||
}
|
||||
});
|
||||
siteApp.post('/members/webhooks/stripe', membersService.api.middleware.handleStripeWebhook);
|
||||
siteApp.post('/members/webhooks/stripe', (req, res, next) => membersService.api.middleware.handleStripeWebhook(req, res, next));
|
||||
siteApp.use(async function (req, res, next) {
|
||||
if (!labsService.isSet('members')) {
|
||||
req.member = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue