Spaces:
Running
Running
Update main.py
Browse files
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 =
|
250 |
|
251 |
if sibyl_user_id:
|
252 |
-
|
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"}
|