Remove truncation of first two digits on customer creation for new API #730

This commit is contained in:
Ramon Gutierrez 2023-05-04 18:07:38 +08:00
parent 87702f0e4c
commit 219ab513b5

View file

@ -138,7 +138,7 @@ class CustomerController extends ApiController
}
// update mobile phone of customer
$cust->setPhoneMobile(substr($this->session->getPhoneNumber(), 2));
$cust->setPhoneMobile($this->session->getPhoneNumber());
return $cust;
}