1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-30 07:48:57 +09:00

Improve performance

This commit is contained in:
syuilo 2018-10-31 13:20:24 +09:00
parent bdbe646ca7
commit 0144575f3f
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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