瀏覽代碼

add populate

itizawa 6 年之前
父節點
當前提交
9d0a80899e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/server/routes/apiv3/users.js

+ 1 - 0
src/server/routes/apiv3/users.js

@@ -182,6 +182,7 @@ module.exports = (crowi) => {
         },
         {
           sort: sortOutput,
+          populate: 'imageAttachment',
           page,
           limit: PAGE_ITEMS,
         },