Add mobile number to response. #641
This commit is contained in:
parent
5c03ccb1fb
commit
8c057c216e
1 changed files with 2 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ class CustomerController extends APIController
|
|||
'is_customer' => false,
|
||||
'first_name' => '',
|
||||
'last_name' => '',
|
||||
'mobile_number' => '',
|
||||
];
|
||||
}
|
||||
else
|
||||
|
|
@ -235,6 +236,7 @@ class CustomerController extends APIController
|
|||
'is_customer' => true,
|
||||
'first_name' => $customer->getFirstName(),
|
||||
'last_name' => $customer->getLastName(),
|
||||
'mobile_number' => $customer->getPhoneMobile(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue