kaori 4 лет назад
Родитель
Сommit
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);
     }