Shun Miyazawa 4 лет назад
Родитель
Сommit
53044e6d3f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/server/models/comment.js

+ 1 - 1
packages/app/src/server/models/comment.js

@@ -73,7 +73,7 @@ module.exports = function(crowi) {
       { $set: { comment, isMarkdown } },
     );
 
-    await commentEvent.emit('update', commentData.creator, commentData.page);
+    await commentEvent.emit('update', commentData);
 
     return commentData;
   };