MongoDB 4.2 (#12331)

* use mongodb 4.2 in github actions

* use .countDocuments in place of .count
This commit is contained in:
Matteo Pagliazzi
2020-06-25 16:50:57 +02:00
committed by GitHub
parent 6058b3d4b4
commit a44aef3d9f
4 changed files with 9 additions and 9 deletions

View File

@@ -45,7 +45,7 @@ async function fixGroupPlanMembers () {
pause();
groupPlanCount += 1;
const canonicalMemberCount = await dbUsers.count(
const canonicalMemberCount = await dbUsers.countDocuments(
{
$or:
[