itizawa пре 6 година
родитељ
комит
7b104104a2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/routes/comment.js

+ 1 - 1
src/server/routes/comment.js

@@ -163,7 +163,7 @@ module.exports = function(crowi, app) {
     const commentId = commentForm.comment_id;
 
     if (comment === '') {
-      return res.json(ApiResponse.error('comment text is required'));
+      return res.json(ApiResponse.error('Comment text is required'));
     }
 
     if (commentId == null) {