소스 검색

added a todo comment

kaori 4 년 전
부모
커밋
27568294dd
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      packages/app/src/server/models/comment.js

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

@@ -118,6 +118,10 @@ module.exports = function(crowi) {
     }
 
     await commentEvent.emit('create', savedComment.creator);
+
+    /**
+     * TODO: move Activity operation from this model scope by GW-7506
+     */
     try {
       const activityLog = await Activity.createByPageComment(savedComment);
       debug('Activity created', activityLog);