diff --git a/src/backend/controllers/user.js b/src/backend/controllers/user.js index cbddaa79..2cccbaff 100644 --- a/src/backend/controllers/user.js +++ b/src/backend/controllers/user.js @@ -38,7 +38,7 @@ export default function controller(users, personas, contacts, keys, thisUser) { ctx.body = { statusCode: 200, status: 'ok', - data: [...allUsers].map(user => ({...user, defaultPersona: {...user.defaultPersona, avatar: undefined}})), + data: [...allUsers].map(user => ({...user, defaultPersona: {...user.defaultPersona, identity: undefined, avatar: undefined}})), }; ctx.response.status = 200; },