mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
not including banned users
This commit is contained in:
parent
3565b1f3a2
commit
803025f80c
2 changed files with 8 additions and 0 deletions
|
@ -22,4 +22,11 @@ router.post(
|
|||
LeaderboardsController.update
|
||||
);
|
||||
|
||||
//TODO remove me
|
||||
router.post(
|
||||
"/debug_update",
|
||||
RateLimit.limit1persec,
|
||||
LeaderboardsController.debugUpdate
|
||||
);
|
||||
|
||||
module.exports = router;
|
||||
|
|
|
@ -35,6 +35,7 @@ class LeaderboardsDAO {
|
|||
[str + ".acc"]: {
|
||||
$exists: true,
|
||||
},
|
||||
banned: { $exists: false },
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue