From 223909a2f89031bcb6e8857818b48ea5a7787268 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 24 Jan 2023 06:53:07 +0200 Subject: [PATCH] fix 500 error on muting --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 17e8b0ad7..767a538ff 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1246,7 +1246,7 @@ def mute_user(v:User, user_id): ) g.db.add(user) g.db.add(ma) - check_for_alts() + check_for_alts(user) return {"message": f"@{user.username} has been muted!"}