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