mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 21:10:20 +01:00
parent
9b2ed96c1c
commit
48b8320e5e
1 changed files with 4 additions and 1 deletions
|
@ -35,5 +35,8 @@ export default define(meta, async (ps, me) => {
|
||||||
throw new Error('cannot show info of admin');
|
throw new Error('cannot show info of admin');
|
||||||
}
|
}
|
||||||
|
|
||||||
return user;
|
return {
|
||||||
|
...user,
|
||||||
|
token: user.token != null ? '<MASKED>' : user.token,
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue