mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-27 00:01:58 -06:00
feat: admin enrollment controls and prune scheduler
This commit is contained in:
@@ -401,6 +401,8 @@ def register(
|
||||
return jsonify({"status": "denied", "reason": "operator_denied"})
|
||||
if status == "expired":
|
||||
return jsonify({"status": "expired"})
|
||||
if status == "completed":
|
||||
return jsonify({"status": "approved", "detail": "finalized"})
|
||||
|
||||
if status != "approved":
|
||||
return jsonify({"status": status or "unknown"}), 400
|
||||
|
||||
Reference in New Issue
Block a user