Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2020-08-10 10:38:00 +09:00
commit dc51eef27c
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ RUN apk add --no-cache \
autoconf \ autoconf \
automake \ automake \
file \ file \
git \
g++ \ g++ \
gcc \ gcc \
libc-dev \ libc-dev \

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