Pārlūkot izejas kodu

add a todo comment

kaori 4 gadi atpakaļ
vecāks
revīzija
e33416dd8c

+ 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);
 
+    // TODO: serialize actionUsers as well by #80112
     paginationResult.docs.forEach((doc) => {
       if (doc.user != null && doc.user instanceof User) {
         doc.user = serializeUserSecurely(doc.user);