소스 검색

clean code

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

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

@@ -27,7 +27,6 @@ export interface InAppNotificationDocument extends Document {
 
 
 export interface InAppNotificationModel extends PaginateModel<InAppNotificationDocument> {
-  // static paginate: PaginateMethod<PaginatedModel>;
   findLatestInAppNotificationsByUser(user: Types.ObjectId, skip: number, offset: number)
   getUnreadCountByUser(user: Types.ObjectId): Promise<number | undefined>
   open(user, id: Types.ObjectId): Promise<InAppNotificationDocument | null>