mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update SearchController
This commit is contained in:
parent
b2d873a22c
commit
98ca36dc65
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class SearchController extends Controller
|
|||
'entity' => [
|
||||
'id' => $item->id,
|
||||
'following' => $item->followedBy(Auth::user()->profile),
|
||||
'follow_request' => $item->hasFollowRequestById(Auth::user()->profile_id),
|
||||
'thumb' => $item->avatarUrl()
|
||||
]
|
||||
]];
|
||||
|
|
Loading…
Reference in a new issue