From 98722e65e02667ff3d59dd6ed5c824ce6b62e460 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 22 Feb 2022 06:47:48 +0200 Subject: [PATCH] fd --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 83c474e05..253ce102e 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -100,7 +100,7 @@ def stats(): "total downvotes": g.db.query(Vote.submission_id).filter_by(vote_type=-1).count() + g.db.query(CommentVote.comment_id).filter_by(vote_type=-1).count(), "total awards": g.db.query(AwardRelationship.id).count(), "awards given": g.db.query(AwardRelationship.id).filter(or_(AwardRelationship.submission_id != None, AwardRelationship.comment_id != None)).count(), - "users who posted/commented/voted in the past 7 days": len(active_users) + "users who posted, commented, or voted in the past 7 days": len(active_users) } @app.get("/chart")