aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-07-01 17:05:55 -0500
committermat <github@matdoes.dev>2021-07-01 17:05:55 -0500
commit3f642fa1772637492c404d3018304cae058eb614 (patch)
tree14e7190c0b54a41af3a5fa46b1950571c29fa7b1 /src
parent213f85dc683245af57825181605cc41afc721820 (diff)
downloadskyblock-api-3f642fa1772637492c404d3018304cae058eb614.tar.gz
skyblock-api-3f642fa1772637492c404d3018304cae058eb614.tar.bz2
skyblock-api-3f642fa1772637492c404d3018304cae058eb614.zip
make the code slightly prettier
Diffstat (limited to 'src')
-rw-r--r--src/database.ts8
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: {} })
}