Przeglądaj źródła

added todo comments

kaori 4 lat temu
rodzic
commit
b1aeba34a8
1 zmienionych plików z 2 dodań i 0 usunięć
  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);
     }