Fix various missing things and bugs

This commit is contained in:
Jesse Wierzbinski 2023-11-28 17:57:35 -10:00
parent 0aeeeabb33
commit e01e92c9ce
No known key found for this signature in database
6 changed files with 52 additions and 20 deletions

View file

@ -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,
},
};
};