diff options
| author | こぴなたみぽ <Syuilotan@yahoo.co.jp> | 2017-09-09 04:39:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-09 04:39:23 +0900 |
| commit | e22a6f2913a51f93ce4681f12407070de40f1797 (patch) | |
| tree | 9813cc173442e25d9a4fe33c04f5a8ec03237baf /src/api | |
| parent | Fix English (diff) | |
| download | misskey-e22a6f2913a51f93ce4681f12407070de40f1797.tar.gz misskey-e22a6f2913a51f93ce4681f12407070de40f1797.tar.bz2 misskey-e22a6f2913a51f93ce4681f12407070de40f1797.zip | |
Update user.ts
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/serializers/user.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/serializers/user.ts b/src/api/serializers/user.ts index 57599fe85c..23a176096a 100644 --- a/src/api/serializers/user.ts +++ b/src/api/serializers/user.ts @@ -37,7 +37,9 @@ export default ( data: false } : { data: false, - profile: false + profile: false, + keywords: false, + domains: false }; // Populate the user if 'user' is ID @@ -119,6 +121,7 @@ export default ( if (opts.detail) { if (_user.pinned_post_id) { + // Populate pinned post _user.pinned_post = await serializePost(_user.pinned_post_id, meId, { detail: true }); |