Explorar o código

add population for pages about group

itizawa %!s(int64=6) %!d(string=hai) anos
pai
achega
de502c6382
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/server/routes/apiv3/user-group.js

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

@@ -587,6 +587,10 @@ 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,
+          },
         },
         },
       });
       });