Explorar o código

rename method

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
56564c9b7f
Modificáronse 1 ficheiros con 2 adicións e 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) => {