Explorar el Código

rename method

kaori hace 4 años
padre
commit
56564c9b7f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/app/src/server/service/comment.ts

+ 2 - 2
packages/app/src/server/service/comment.ts

@@ -25,11 +25,11 @@ class CommentService {
     this.activityEvent = crowi.event('activity');
 
     // init
-    this.initCommentEvent();
+    this.initCommentEventListeners();
   }
 
 
-  initCommentEvent(): void {
+  initCommentEventListeners(): void {
     // create
     this.commentEvent.on('create', async(savedComment) => {