upgrade moment
This commit is contained in:
+1
-1
@@ -32,8 +32,8 @@
|
||||
"js2xmlparser": "~0.1.2",
|
||||
"lodash": "~2.4.1",
|
||||
"method-override": "~2.2.0",
|
||||
"moment": "~2.4.0",
|
||||
"mongoose": "~3.8.17",
|
||||
"moment": "~2.8.3",
|
||||
"mongoose-id-autoinc": "~2013.7.14-4",
|
||||
"nconf": "*",
|
||||
"newrelic": "~1.11.2",
|
||||
|
||||
@@ -108,7 +108,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('month',1)
|
||||
.add(1, 'month')
|
||||
.toDate();
|
||||
ga.event('unsubscribe', 'Stripe').send();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user