fix(plans): when gifting subscription, set plan.dateUpdated so it can

roll gemCapExtra next month. Fixes #4480
This commit is contained in:
Tyler Renelle
2015-01-07 14:58:58 -07:00
parent c96ae618db
commit 0b28f6df55
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
db.users.update(
{'purchased.plan.customerId':{$ne:null}, 'purchased.plan.dateUpdated':null},
{$set: {'purchased.plan.datedUpdated': new Date('12/01/2014')}},
{multi:true}
);