Browse Source

added todo comments

kaori 4 năm trước cách đây
mục cha
commit
b1aeba34a8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/app/src/server/models/comment.js

+ 2 - 0
packages/app/src/server/models/comment.js

@@ -89,6 +89,7 @@ module.exports = function(crowi) {
     const commentEvent = crowi.event('comment');
 
     try {
+      // TODO: move Page.updateCommentCount to commentService by GW7532
       const page = await Page.updateCommentCount(savedComment.page);
       debug('CommentCount Updated', page);
     }
@@ -121,6 +122,7 @@ module.exports = function(crowi) {
     const commentEvent = crowi.event('comment');
 
     try {
+      // TODO: move Page.updateCommentCount to commentService by GW7532
       const page = await Page.updateCommentCount(savedComment.page);
       debug('CommentCount Updated', page);
     }