diff --git a/CHANGELOG b/CHANGELOG index 27a62bc1fa6..41530b39087 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ UNRELEASED CHANGES: -* +* Add Linkedin URL in the Contact object returned by the API RELEASED VERSIONS: diff --git a/app/Http/Resources/Contact/Contact.php b/app/Http/Resources/Contact/Contact.php index 9e44cbc71c5..ce0d660c2e7 100644 --- a/app/Http/Resources/Contact/Contact.php +++ b/app/Http/Resources/Contact/Contact.php @@ -55,6 +55,7 @@ public function toArray($request) 'career' => $this->when(! $this->is_partial, [ 'job' => $this->job, 'company' => $this->company, + 'linkedin_profile_url' => $this->linkedin_profile_url, ]), 'avatar' => $this->when(! $this->is_partial, [ 'url' => $this->getAvatarUrl(110),