Explorar o código

remove unnecessary

Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
f6be05691a
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      packages/app/src/server/models/in-app-notification.ts

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

@@ -25,7 +25,6 @@ export interface InAppNotificationDocument extends Document {
 
 export interface InAppNotificationModel extends Model<InAppNotificationDocument> {
   findLatestInAppNotificationsByUser(user: Types.ObjectId, skip: number, offset: number): Promise<InAppNotificationDocument[]>
-  getUnreadCountByUser(user: Types.ObjectId): Promise<number | undefined>
   open(user, id: Types.ObjectId): Promise<InAppNotificationDocument | null>
   read(user) /* : Promise<Query<any>> */