mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-21 03:04:13 +00:00
fix typo in stripe cancel
This commit is contained in:
parent
6c017b31fb
commit
9855f8c385
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ api.subscribeCancel = {
|
|||
let user = res.locals.user;
|
||||
if (!user.purchased.plan.customerId) throw new NotAuthorized(res.t('missingSubscription'));
|
||||
|
||||
let customer = await stripe.customers.retrieve(user.purchased.plan.customeerId);
|
||||
let customer = await stripe.customers.retrieve(user.purchased.plan.customerId);
|
||||
await stripe.customers.del(user.purchased.plan.customerId);
|
||||
await payments.cancelSubscription({
|
||||
user,
|
||||
|
|
|
|||
Loading…
Reference in a new issue