Skip to content

Commit

Permalink
coPilot failure is your only option
Browse files Browse the repository at this point in the history
check failed for the (time):
  • Loading branch information
spirillen committed Jan 21, 2025
1 parent 785a449 commit bfb1908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suspendAndDelete.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Default values
DEFAULT_URL = "https://matrix.rocks/api"
VERSION = "0.1.0b26" # Updated version
VERSION = "0.1.0b28" # Updated version

# Configure logging
script_dir = os.path.dirname(os.path.abspath(__file__))
Expand Down Expand Up @@ -89,7 +89,7 @@ def suspend_user(api_url, api_token, user_id, reason=None):

def delete_user_posts(api_url, api_token, user_id):
logging.debug(f"Deleting posts for user {user_id}")
endpoint = f"{api_url}/admin/delete-all-files-of-a-user"
endpoint = f"{api_url}/admin/delete-all-posts-of-a-user"
response = perform_request(
endpoint,
api_token,
Expand Down

0 comments on commit bfb1908

Please sign in to comment.