* Fix #6637

* fix lint
This commit is contained in:
rinsuki 2020-08-10 01:32:27 +09:00 committed by GitHub
parent 0f24d5c227
commit c8f0d1413b

View File

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