mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Update user.ts
This commit is contained in:
parent
c5ffbf9901
commit
bc954de9f8
@ -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 New Issue
Block a user