Browse Source

add a todo comment

kaori 4 years ago
parent
commit
e33416dd8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/src/server/routes/apiv3/in-app-notification.ts

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

@@ -30,6 +30,7 @@ module.exports = (crowi) => {
 
 
     const paginationResult = await inAppNotificationService.getLatestNotificationsByUser(user._id, requestLimit, offset);
     const paginationResult = await inAppNotificationService.getLatestNotificationsByUser(user._id, requestLimit, offset);
 
 
+    // TODO: serialize actionUsers as well by #80112
     paginationResult.docs.forEach((doc) => {
     paginationResult.docs.forEach((doc) => {
       if (doc.user != null && doc.user instanceof User) {
       if (doc.user != null && doc.user instanceof User) {
         doc.user = serializeUserSecurely(doc.user);
         doc.user = serializeUserSecurely(doc.user);