kaori пре 4 година
родитељ
комит
b1aeba34a8
1 измењених фајлова са 2 додато и 0 уклоњено
  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);
     }