mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 08:48:11 +09:00
Delete publicKey of remote user
This commit is contained in:
parent
70d5d4459d
commit
e69554f810
@ -359,6 +359,8 @@ export const pack = (
|
||||
if (!opts.detail) {
|
||||
delete _user.twoFactorEnabled;
|
||||
}
|
||||
} else {
|
||||
delete _user.publicKey;
|
||||
}
|
||||
|
||||
_user.avatarUrl = _user.avatarId != null
|
||||
|
Loading…
Reference in New Issue
Block a user