mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix linting
This commit is contained in:
@@ -91,13 +91,7 @@ api.handleWebhooks = {
|
||||
method: 'POST',
|
||||
url: '/stripe/webhooks',
|
||||
async handler (req, res) {
|
||||
console.log('start handling webhook');
|
||||
|
||||
try {
|
||||
await stripePayments.handleWebhooks({requestBody: req.body});
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
await stripePayments.handleWebhooks({requestBody: req.body});
|
||||
|
||||
return res.respond(200, {});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user