itizawa 6 anni fa
parent
commit
7b104104a2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {