Update main.py
Browse files
main.py
CHANGED
|
@@ -949,7 +949,7 @@ def get_shortlist():
|
|
| 949 |
# Lepharo AI Screening endpoint
|
| 950 |
from google.api_core import exceptions as gexc # optional, if installed
|
| 951 |
|
| 952 |
-
@app.route("/api/
|
| 953 |
def evaluate_participant():
|
| 954 |
# Validate JSON early (bad JSON should be 400, not 500)
|
| 955 |
if not request.is_json:
|
|
|
|
| 949 |
# Lepharo AI Screening endpoint
|
| 950 |
from google.api_core import exceptions as gexc # optional, if installed
|
| 951 |
|
| 952 |
+
@app.route("/api/lepharo_evaluate", methods=["POST"])
|
| 953 |
def evaluate_participant():
|
| 954 |
# Validate JSON early (bad JSON should be 400, not 500)
|
| 955 |
if not request.is_json:
|