Explorar el Código

added a todo comment

kaori hace 4 años
padre
commit
184ff288d7
Se han modificado 1 ficheros con 1 adiciones y 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)