fix 500 error

pull/222/head
Aevann 2024-02-16 23:59:29 +02:00
parent 95ec09a6b3
commit 44eaad5e43
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ def reported_comments(v):
is_approved=None,
is_banned=False,
deleted_utc=0
).join(Comment.reports).join(User, User.id == Report.user_id).filter(User.shadowbanned == None, User.is_muted == False)
).join(Comment.reports).join(User, User.id == CommentReport.user_id).filter(User.shadowbanned == None, User.is_muted == False)
total = listing.count()