diff options
author | mat <github@matdoes.dev> | 2021-07-01 17:05:55 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-07-01 17:05:55 -0500 |
commit | 3f642fa1772637492c404d3018304cae058eb614 (patch) | |
tree | 14e7190c0b54a41af3a5fa46b1950571c29fa7b1 /src | |
parent | 213f85dc683245af57825181605cc41afc721820 (diff) | |
download | skyblock-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.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: {} }) } |