made the route for comment generation comment

instead of comments
This commit is contained in:
Karma Riuk
2025-05-14 22:01:12 +02:00
parent 28566ef37e
commit 2980f29bfa
2 changed files with 2 additions and 2 deletions

View File

@ -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: