1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-24 15:16:30 +09:00
* Fix #6637

* fix lint
This commit is contained in:
rinsuki 2020-08-10 01:32:27 +09:00 committed by GitHub
parent 9b2ed96c1c
commit 48b8320e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,5 +35,8 @@ export default define(meta, async (ps, me) => {
throw new Error('cannot show info of admin');
}
return user;
return {
...user,
token: user.token != null ? '<MASKED>' : user.token,
};
});