fix(payments): revert unwanted change

This commit is contained in:
Matteo Pagliazzi 2014-10-10 21:33:32 +02:00
parent 1a15043cdd
commit 8da33857e4

View file

@ -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();