mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Fix various missing things and bugs
This commit is contained in:
parent
0aeeeabb33
commit
e01e92c9ce
6 changed files with 52 additions and 20 deletions
|
|
@ -376,7 +376,10 @@ export const userToAPI = (
|
|||
discoverable: undefined,
|
||||
mute_expires_at: undefined,
|
||||
group: false,
|
||||
role: undefined,
|
||||
pleroma: {
|
||||
is_admin: user.isAdmin,
|
||||
is_moderator: user.isAdmin,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue