Ver código fonte

using logger info but error

kaori 4 anos atrás
pai
commit
7b3757a4f5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      packages/app/src/server/events/notification.ts

+ 2 - 2
packages/app/src/server/events/notification.ts

@@ -14,8 +14,8 @@ function NotificationEvent(crowi) {
 util.inherits(NotificationEvent, events.EventEmitter);
 
 
-NotificationEvent.prototype.onUpdate = function(page, user) {
-  logger.error('onUpdate event fired');
+NotificationEvent.prototype.onUpdate = function(user) {
+  logger.info('onUpdate event fired');
 };