mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-15 02:32:22 +00:00
fix(payments): revert unwanted change
This commit is contained in:
parent
1a15043cdd
commit
8da33857e4
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ function cancelSubscription(user, data){
|
|||
if(isProduction) emailUser(user, 'cancel-subscription');
|
||||
user.purchased.plan.dateTerminated =
|
||||
moment( now.format('MM') + '/' + moment(du).format('DD') + '/' + now.format('YYYY') )
|
||||
.add(1, 'month')
|
||||
.add({months:1})
|
||||
.toDate();
|
||||
ga.event('unsubscribe', 'Stripe').send();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue