Răsfoiți Sursa

adjust user group page

itizawa 6 ani în urmă
părinte
comite
5359328ef4
1 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  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: {
         populate: {
           path: 'lastUpdateUser',
           path: 'lastUpdateUser',
           select: User.USER_PUBLIC_FIELDS,
           select: User.USER_PUBLIC_FIELDS,
-          populate: {
-            path: 'imageAttachment',
-            select: User.IMAGE_POPULATION,
-          },
+          populate: User.IMAGE_POPULATION,
         },
         },
       });
       });