diff --git a/app/Http/Resources/CustomerResource.php b/app/Http/Resources/CustomerResource.php index 2539016..3d16d2e 100644 --- a/app/Http/Resources/CustomerResource.php +++ b/app/Http/Resources/CustomerResource.php @@ -29,6 +29,7 @@ class CustomerResource extends JsonResource 'crm_id' => $this->id, 'firstname' => $infos->firstname, 'lastname' => $infos->lastname, + 'email' => $this->email, 'birth_date' => $infos->birth_date, 'address' => $infos->address, 'address2' => $infos->address2,