Browse Source

get rid of the last handler

sou 8 năm trước cách đây
mục cha
commit
ce18f94776
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/routes/comment.js

+ 1 - 1
lib/routes/comment.js

@@ -62,7 +62,7 @@ module.exports = function(crowi, app) {
     var revisionId = form.revision_id;
     var comment = form.comment;
     var position = form.comment_position || -1;
-    var isMarkdown = form.is_markdown || false;
+    var isMarkdown = form.is_markdown;
 
     return Comment.create(pageId, req.user._id, revisionId, comment, position, isMarkdown)
       .then(function(createdComment) {