diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-31 13:20:24 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-31 13:20:24 +0900 |
| commit | 0144575f3f3d091f7b7fbc415276df4ecc60ab43 (patch) | |
| tree | f604f53c1ab6e3b04ba09ae6d6c82c2ad4aad643 /src/models | |
| parent | Improve performance (diff) | |
| download | sharkey-0144575f3f3d091f7b7fbc415276df4ecc60ab43.tar.gz sharkey-0144575f3f3d091f7b7fbc415276df4ecc60ab43.tar.bz2 sharkey-0144575f3f3d091f7b7fbc415276df4ecc60ab43.zip | |
Improve performance
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/user.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/models/user.ts b/src/models/user.ts index b25e02b282..57973d6ca1 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -181,12 +181,22 @@ export const pack = ( const fields = opts.detail ? { } : { + bannerColor: false, + bannerUrl: false, + description: false, + notesCount: false, + followersCount: false, + followingCount: false, + lastUsedAt: false, settings: false, clientSettings: false, profile: false, keywords: false, domains: false, - pinnedNoteIds: false + pinnedNoteIds: false, + wallpaperColor: false, + wallpaperId: false, + wallpaperUrl: false }; // Populate the user if 'user' is ID |