From 3f642fa1772637492c404d3018304cae058eb614 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 1 Jul 2021 17:05:55 -0500 Subject: make the code slightly prettier --- src/database.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') 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 { } } - await memberLeaderboardsCollection.deleteMany( - { stats: {} } - ) - await profileLeaderboardsCollection.deleteMany( - { stats: {} } - ) + await memberLeaderboardsCollection.deleteMany({ stats: {} }) + await profileLeaderboardsCollection.deleteMany({ stats: {} }) } -- cgit