Ufoptg commited on
Commit
59659fc
1 Parent(s): 5e39b07

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -246,10 +246,10 @@ def sibyl_system_delete(
246
  api_key: None = Depends(validate_api_key_only_devs)
247
  ):
248
  try:
249
- _, _, _, _, sibyl_user_id = db.get_sibyl_system_banned(item.user_id)
250
 
251
  if sibyl_user_id:
252
- db.remove_sibyl_system_banned(item.user_id)
253
  return SuccessResponse(
254
  status="True",
255
  randydev={"message": f"Successfully removed {item.user_id} from the Sibyl ban list"}
 
246
  api_key: None = Depends(validate_api_key_only_devs)
247
  ):
248
  try:
249
+ _, _, _, _, sibyl_user_id = get_sibyl_system_banned(item.user_id)
250
 
251
  if sibyl_user_id:
252
+ remove_sibyl_system_banned(item.user_id)
253
  return SuccessResponse(
254
  status="True",
255
  randydev={"message": f"Successfully removed {item.user_id} from the Sibyl ban list"}