Przeglądaj źródła

remove unnecessary arg

Shun Miyazawa 4 lat temu
rodzic
commit
53044e6d3f
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
   };