Explorar o código

added a todo comment

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

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

@@ -98,6 +98,7 @@ inAppNotificationSchema.index({
 inAppNotificationSchema.statics.findLatestInAppNotificationsByUser = function(user, limitNum, offset) {
   const limit = limitNum || 10;
 
+  // TODO: improve populate refer to GROWI way by GW-7482
   return InAppNotification.find({ user })
     .sort({ createdAt: -1 })
     .skip(offset)