1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

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