Update SearchController

This commit is contained in:
Daniel Supernault 2019-08-05 21:10:47 -06:00
parent b2d873a22c
commit 98ca36dc65
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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()
]
]];