1
0
Fork 0

Update SearchController

This commit is contained in:
Daniel Supernault 2019-08-11 23:40:27 -06:00
parent ea13af7446
commit 02e131f3b2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class SearchController extends Controller
'tokens' => [$item->username],
'name' => $item->name,
'entity' => [
'id' => $item->id,
'id' => (string) $item->id,
'following' => $item->followedBy(Auth::user()->profile),
'follow_request' => $item->hasFollowRequestById(Auth::user()->profile_id),
'thumb' => $item->avatarUrl()