mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 02:45:29 -04:00
🐛Fix sub handler error typo
This commit is contained in:
parent
6a4efa9a21
commit
d4d4d7bb25
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ class SubscriptionHandler extends Handler
|
|||
stripe.customers.updateSubscription stripeInfo.customerID, stripeInfo.sponsorSubscriptionID, options, (err, subscription) =>
|
||||
if err
|
||||
logStripeWebhookError(err)
|
||||
return res.send(500, '')
|
||||
return done({res: 'Database error.', code: 500})
|
||||
done()
|
||||
|
||||
module.exports = new SubscriptionHandler()
|
||||
|
|
Loading…
Reference in a new issue