diff --git a/files/routes/admin.py b/files/routes/admin.py index 34deca237..d508deb79 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -504,7 +504,7 @@ def agendaposter(user_id, v): user.refresh_selfset_badges() - return "", 204 + return (redirect(user.url), user) @app.post("/shadowban/") @admin_level_required(6)