remove round Number check in the Python part
This commit is contained in:
@ -21,7 +21,7 @@ def audit_submission(round_number: int):
|
|||||||
400,
|
400,
|
||||||
)
|
)
|
||||||
|
|
||||||
submission_round_number = submission.get("roundNumber")
|
# submission_round_number = submission.get("roundNumber")
|
||||||
task_id = submission.get("taskId")
|
task_id = submission.get("taskId")
|
||||||
pr_url = submission.get("prUrl")
|
pr_url = submission.get("prUrl")
|
||||||
github_username = submission.get("githubUsername")
|
github_username = submission.get("githubUsername")
|
||||||
@ -37,11 +37,11 @@ def audit_submission(round_number: int):
|
|||||||
400,
|
400,
|
||||||
)
|
)
|
||||||
print(f"Repo owner: {repo_owner}, Repo name: {repo_name}")
|
print(f"Repo owner: {repo_owner}, Repo name: {repo_name}")
|
||||||
if int(round_number) != submission_round_number:
|
# if int(round_number) != submission_round_number:
|
||||||
return (
|
# return (
|
||||||
jsonify({"success": False, "data": {"error": "Round number mismatch"}}),
|
# jsonify({"success": False, "data": {"error": "Round number mismatch"}}),
|
||||||
400,
|
# 400,
|
||||||
)
|
# )
|
||||||
|
|
||||||
if (
|
if (
|
||||||
not task_id
|
not task_id
|
||||||
|
Reference in New Issue
Block a user