Línea 318... |
Línea 318... |
318 |
$data = [
|
318 |
$data = [
|
319 |
'following' => $following ,
|
319 |
'following' => $following ,
|
320 |
'total_connections' => $total_connections,
|
320 |
'total_connections' => $total_connections,
|
321 |
'user_id' => $user->uuid,
|
321 |
'user_id' => $user->uuid,
|
322 |
'user_uuid' => ($user->uuid),
|
322 |
'user_uuid' => ($user->uuid),
|
- |
|
323 |
'full_name' => trim($userProfile->name),
|
323 |
'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
324 |
//'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
324 |
'user_profile_id' => $userProfile->id,
|
325 |
'user_profile_id' => $userProfile->id,
|
325 |
'user_profile_uuid' => $userProfile->uuid,
|
326 |
'user_profile_uuid' => $userProfile->uuid,
|
326 |
'image' => $this->url()->fromRoute('storage',['id' => $userProfile->uuid, 'type' => 'user-profile', 'filename' => $user->image]),
|
327 |
'image' => $this->url()->fromRoute('storage',['id' => $userProfile->uuid, 'type' => 'user-profile', 'filename' => $user->image]),
|
327 |
'cover' => $this->url()->fromRoute('storage',['id' => $userProfile->uuid, 'type' => 'user-cover', 'filename' => $userProfile->cover]),
|
328 |
'cover' => $this->url()->fromRoute('storage',['id' => $userProfile->uuid, 'type' => 'user-cover', 'filename' => $userProfile->cover]),
|
328 |
'overview' => $userProfile->description,
|
329 |
'overview' => $userProfile->description,
|