Línea 509... |
Línea 509... |
509 |
'user_id' => $user->id,
|
509 |
'user_id' => $user->id,
|
510 |
'user_uuid' => $user->uuid,
|
510 |
'user_uuid' => $user->uuid,
|
511 |
'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
511 |
'full_name' => trim($user->first_name . ' ' . $user->last_name),
|
512 |
'user_profile_id' => $userProfile->id,
|
512 |
'user_profile_id' => $userProfile->id,
|
513 |
'user_profile_uuid' => $userProfile->uuid,
|
513 |
'user_profile_uuid' => $userProfile->uuid,
|
514 |
'image' => $userProfile->image,
|
514 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user-profile', 'code' => $currentUser->uuid, 'filename' => $userProfile->image],['force_canonical' => true]),
|
515 |
'cover' => $userProfile->cover,
|
515 |
'cover' => $this->url()->fromRoute('storage', ['type' => 'user-cover', 'code' => $currentUser->uuid, 'filename' => $userProfile->cover],['force_canonical' => true]),
|
516 |
'overview' => $userProfile->description,
|
516 |
'overview' => $userProfile->description,
|
517 |
'facebook' => $userProfile->facebook,
|
517 |
'facebook' => $userProfile->facebook,
|
518 |
'instagram' => $userProfile->instagram,
|
518 |
'instagram' => $userProfile->instagram,
|
519 |
'twitter' => $userProfile->twitter,
|
519 |
'twitter' => $userProfile->twitter,
|
520 |
'formatted_address' => $formattedAddress,
|
520 |
'formatted_address' => $formattedAddress,
|