소스 검색

using logger info but error

kaori 4 년 전
부모
커밋
7b3757a4f5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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');
 };