Kaynağa Gözat

renamed notification service

kaori 4 yıl önce
ebeveyn
işleme
d7a55c0504

+ 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';
 
-class NortificationService {
+class InAppNotificationService {
 
   crowi!: any;
 
@@ -15,10 +15,10 @@ class NortificationService {
     this.commentEvent = crowi.event('comment');
 
     // init
-    this.updateNotificationevent();
+    this.updateCommentEvent();
   }
 
-  updateNotificationevent() {
+  updateCommentEvent() {
     this.commentEvent.on('update', (user) => {
       this.commentEvent.onUpdate();
 
@@ -30,4 +30,4 @@ class NortificationService {
 
 }
 
-module.exports = NortificationService;
+module.exports = InAppNotificationService;