From 0c451edf0c0b177bbedae8f11cbcd9d41353d33e Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Wed, 23 Jun 2021 10:20:57 +0200 Subject: [PATCH] - Oups --- app/Http/Controllers/Api/v1/CustomerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/v1/CustomerController.php b/app/Http/Controllers/Api/v1/CustomerController.php index 3c7a161..eaa6827 100644 --- a/app/Http/Controllers/Api/v1/CustomerController.php +++ b/app/Http/Controllers/Api/v1/CustomerController.php @@ -274,7 +274,7 @@ class CustomerController extends Controller 'crm_id' => $customer->id, 'firstname' => $infos->firstname, 'lastname' => $infos->lastname, - 'email' => $this->email, + 'email' => $customer->email, 'birth_date' => $infos->birth_date, 'address' => $infos->address, 'address2' => $infos->address2,