We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 612c2a8 commit ceb616dCopy full SHA for ceb616d
mtv/resources/comment.py
@@ -74,9 +74,9 @@ def put(self, comment_id):
74
text = request.form['text']
75
76
# validate
77
- if text is None or text == '':
78
- LOGGER.exception('Error updating comment. Lack of comment content.')
79
- return {'message': 'Lack of comment content.'}, 400
+ # if text is None or text == '':
+ # LOGGER.exception('Error updating comment. Lack of comment content.')
+ # return {'message': 'Lack of comment content.'}, 400
80
81
# get data from db
82
try:
0 commit comments