mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update SearchController
This commit is contained in:
parent
ea13af7446
commit
02e131f3b2
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class SearchController extends Controller
|
||||||
'tokens' => [$item->username],
|
'tokens' => [$item->username],
|
||||||
'name' => $item->name,
|
'name' => $item->name,
|
||||||
'entity' => [
|
'entity' => [
|
||||||
'id' => $item->id,
|
'id' => (string) $item->id,
|
||||||
'following' => $item->followedBy(Auth::user()->profile),
|
'following' => $item->followedBy(Auth::user()->profile),
|
||||||
'follow_request' => $item->hasFollowRequestById(Auth::user()->profile_id),
|
'follow_request' => $item->hasFollowRequestById(Auth::user()->profile_id),
|
||||||
'thumb' => $item->avatarUrl()
|
'thumb' => $item->avatarUrl()
|
||||||
|
|
Loading…
Reference in a new issue