kaori 4 лет назад
Родитель
Сommit
196ff22e6d
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      packages/app/src/server/events/comment.ts

+ 4 - 4
packages/app/src/server/events/notification.ts → packages/app/src/server/events/comment.ts

@@ -5,18 +5,18 @@ const logger = loggerFactory('growi:events:notification');
 const util = require('util');
 const events = require('events');
 
-function NotificationEvent(crowi) {
+function CommentEvent(crowi) {
   this.crowi = crowi;
 
   events.EventEmitter.call(this);
 }
 
-util.inherits(NotificationEvent, events.EventEmitter);
+util.inherits(CommentEvent, events.EventEmitter);
 
 
-NotificationEvent.prototype.onUpdate = function() {
+CommentEvent.prototype.onUpdate = function() {
   logger.info('onUpdate event fired');
 };
 
 
-module.exports = NotificationEvent;
+module.exports = CommentEvent;