diff --git a/core/scripts/webpanel/routers/api/v1/user.py b/core/scripts/webpanel/routers/api/v1/user.py index 4d57a31..8c01fea 100644 --- a/core/scripts/webpanel/routers/api/v1/user.py +++ b/core/scripts/webpanel/routers/api/v1/user.py @@ -180,7 +180,6 @@ async def remove_user_api(username: str): cli_api.kick_user_by_name(username) cli_api.traffic_status(display_output=False) cli_api.remove_user(username) - cli_api.traffic_status(display_output=False) return DetailResponse(detail=f'User {username} has been removed.') except HTTPException: