itizawa пре 6 година
родитељ
комит
5359328ef4
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      src/server/routes/apiv3/user-group.js

+ 1 - 4
src/server/routes/apiv3/user-group.js

@@ -587,10 +587,7 @@ module.exports = (crowi) => {
         populate: {
           path: 'lastUpdateUser',
           select: User.USER_PUBLIC_FIELDS,
-          populate: {
-            path: 'imageAttachment',
-            select: User.IMAGE_POPULATION,
-          },
+          populate: User.IMAGE_POPULATION,
         },
       });