diff options
Diffstat (limited to 'src/database.ts')
-rw-r--r-- | src/database.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/database.ts b/src/database.ts index d074c60..5ab24cd 100644 --- a/src/database.ts +++ b/src/database.ts @@ -726,12 +726,8 @@ async function removeBadMemberLeaderboardAttributes(): Promise<void> { } } - await memberLeaderboardsCollection.deleteMany( - { stats: {} } - ) - await profileLeaderboardsCollection.deleteMany( - { stats: {} } - ) + await memberLeaderboardsCollection.deleteMany({ stats: {} }) + await profileLeaderboardsCollection.deleteMany({ stats: {} }) } |