diff --git a/public/index.html b/public/index.html index c2a048f..c8c0742 100644 --- a/public/index.html +++ b/public/index.html @@ -37,7 +37,7 @@ Upload Your Answers

diff --git a/src/routes/answers.py b/src/routes/answers.py index b1f8af7..02b2c4a 100644 --- a/src/routes/answers.py +++ b/src/routes/answers.py @@ -44,7 +44,7 @@ def validate_json_format_for_code_refinement(data: str) -> dict[str, dict[str, s raise InvalidJsonFormatError() -@router.route('/submit/comments', methods=['POST']) +@router.route('/submit/comment', methods=['POST']) def submit_comments(): file = request.files.get('file') if file is None or file.filename is None or file.filename.split('.')[-1] not in ALLOWED_EXT: