kaori 4 лет назад
Родитель
Сommit
d7a55c0504
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      packages/app/src/server/service/in-app-notification.ts

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

@@ -1,6 +1,6 @@
 import Crowi from '../crowi';
 import Crowi from '../crowi';
 
 
-class NortificationService {
+class InAppNotificationService {
 
 
   crowi!: any;
   crowi!: any;
 
 
@@ -15,10 +15,10 @@ class NortificationService {
     this.commentEvent = crowi.event('comment');
     this.commentEvent = crowi.event('comment');
 
 
     // init
     // init
-    this.updateNotificationevent();
+    this.updateCommentEvent();
   }
   }
 
 
-  updateNotificationevent() {
+  updateCommentEvent() {
     this.commentEvent.on('update', (user) => {
     this.commentEvent.on('update', (user) => {
       this.commentEvent.onUpdate();
       this.commentEvent.onUpdate();
 
 
@@ -30,4 +30,4 @@ class NortificationService {
 
 
 }
 }
 
 
-module.exports = NortificationService;
+module.exports = InAppNotificationService;