mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
fix review comment detail
This commit is contained in:
@@ -190,7 +190,7 @@ class ReviewCommentView(APIView):
|
||||
logger.error(e)
|
||||
return api_error(status.HTTP_500_INTERNAL_SERVER_ERROR, 'Internal error.')
|
||||
|
||||
if detail is not None:
|
||||
if detail:
|
||||
try:
|
||||
review_comment.detail = detail
|
||||
review_comment.save()
|
||||
|
Reference in New Issue
Block a user