소스 검색

get rid of the last handler

sou 8 년 전
부모
커밋
ce18f94776
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {