Browse Source

add population for pages about group

itizawa 6 years ago
parent
commit
de502c6382
1 changed files with 4 additions and 0 deletions
  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: {
           path: 'lastUpdateUser',
           select: User.USER_PUBLIC_FIELDS,
+          populate: {
+            path: 'imageAttachment',
+            select: User.IMAGE_POPULATION,
+          },
         },
       });