Explorar o código

FB: rename method

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
498108a543
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/app/src/server/service/in-app-notification.ts

+ 2 - 2
packages/app/src/server/service/in-app-notification.ts

@@ -16,10 +16,10 @@ class InAppNotificationService {
     this.commentEvent = crowi.event('comment');
 
     // init
-    this.updateCommentEvent();
+    this.initCommentEvent();
   }
 
-  updateCommentEvent(): void {
+  initCommentEvent(): void {
     this.commentEvent.on('update', (user) => {
       this.commentEvent.onUpdate();
     });