0
0

Update user.ts

This commit is contained in:
こぴなたみぽ 2017-09-09 04:39:23 +09:00 committed by GitHub
parent 1323a08a5f
commit e22a6f2913

View File

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