mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 20:28:53 +00:00
Updated migration to not update canceled group plans (#8550)
This commit is contained in:
parent
38b894db56
commit
8b65ce3053
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ import * as payments from '../../website/server/libs/payments';
|
|||
|
||||
async function updateGroupsWithGroupPlans () {
|
||||
let groups = await Group.find({
|
||||
'purchased.plan.customerId': 'group-unlimited',
|
||||
'purchased.plan.planId': 'group_monthly',
|
||||
'purchased.plan.dateTerminated': null,
|
||||
}).exec();
|
||||
|
||||
let promises = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue