소스 검색

clean code

kaori 4 년 전
부모
커밋
c060f598f4
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      packages/app/src/server/models/activity.ts

+ 0 - 1
packages/app/src/server/models/activity.ts

@@ -220,7 +220,6 @@ activitySchema.post('save', async(savedActivity: ActivityDocument) => {
 // because mongoose's 'remove' hook fired only when remove by a method of Document (not by a Model method)
 // move 'save' hook from mongoose's events to activityEvent if I have a time.
 const activityEvent = new ActivityEvent();
-
 // const inAppNotificationService = new InAppNotificationService(crowi);
 
 activityEvent.on('remove', async(activity: ActivityDocument) => {