Unify account view in admin-fe
When fetching user info (GET api/pleroma/admin/users/{id}
) or single status in admin-fe I get user's nickname in field nickname
, but when I fetch user's statuses (GET api/pleroma/admin/users/{id}/statuses
), user's nickname is kept in field username
. I suggest to unify the way account data is returned in that endpoint. Those are the fields I need:
avatar: "http://localhost:4000/images/avi.png"
confirmation_pending: false
deactivated: false
display_name: "user"
id: "1234"
local: true
nickname: "user"
roles: {admin: false, moderator: false}
tags: ["strip_media", "sandbox", "force_nsfw", "force_unlisted", "disable_any_subscription"]
url: "http://localhost:4000/user"
``
Edited by Angelina Filippova