mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
MongoDB 4.2 (#12331)
* use mongodb 4.2 in github actions * use .countDocuments in place of .count
This commit is contained in:
@@ -45,7 +45,7 @@ async function fixGroupPlanMembers () {
|
||||
pause();
|
||||
groupPlanCount += 1;
|
||||
|
||||
const canonicalMemberCount = await dbUsers.count(
|
||||
const canonicalMemberCount = await dbUsers.countDocuments(
|
||||
{
|
||||
$or:
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user