mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-09 13:50:44 +00:00
Merge pull request #1590 from pixelfed/frontend-ui-refactor
Update SearchController
This commit is contained in:
commit
fdeb424f57
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