mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
made the route for comment generation comment
instead of comments
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user