mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Delete publicKey of remote user
This commit is contained in:
parent
aaf9d47564
commit
3fde15cc47
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue