nanka iroiro

Closes #1188
This commit is contained in:
syuilo
2018-03-06 08:35:25 +09:00
parent bd167b48d5
commit e515276e15
10 changed files with 93 additions and 63 deletions

View File

@@ -118,7 +118,6 @@ export const pack = (
let _user: any;
const fields = opts.detail ? {
settings: false
} : {
settings: false,
client_settings: false,
@@ -173,6 +172,7 @@ export const pack = (
// Visible via only the official client
if (!opts.includeSecrets) {
delete _user.email;
delete _user.settings;
delete _user.client_settings;
}