randydev commited on
Commit
c17fdbf
·
verified ·
1 Parent(s): 9e157a6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -80,7 +80,6 @@ def toggle_free_mode(user_id):
80
  def check_expiration(user_id):
81
  try:
82
  response = requests.get(f"https://private-akeno.randydev.my.id/api/v2/akenohub/check?user_id={user_id}")
83
- response.raise_for_status()
84
  return response.json()
85
  except requests.RequestException as e:
86
  return {"expired": True, "free_mode": False, "message": f"Error checking expiration: {str(e)}"}
 
80
  def check_expiration(user_id):
81
  try:
82
  response = requests.get(f"https://private-akeno.randydev.my.id/api/v2/akenohub/check?user_id={user_id}")
 
83
  return response.json()
84
  except requests.RequestException as e:
85
  return {"expired": True, "free_mode": False, "message": f"Error checking expiration: {str(e)}"}