mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:03:08 +02:00
Update user.ts
This commit is contained in:
parent
1323a08a5f
commit
e22a6f2913
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue