mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fix groups migration
This commit is contained in:
parent
c292d7b438
commit
d64ce2fcdf
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ dbGroups.findEach({}, {_id: 1, members: 1}, {batchSize: 500}, function(err, grou
|
|||
dbUsers.count({_id: member}, function(err, count){
|
||||
if(err) throw err;
|
||||
|
||||
if(count < 1 && (group._id !== 'habitrpg')) {
|
||||
if(count < 1) {
|
||||
countUsers++;
|
||||
console.log('User: ', countUsers);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue