Add privacy flags in get user info api call #162
This commit is contained in:
parent
a74e73f99c
commit
93da2003f0
1 changed files with 2 additions and 0 deletions
|
|
@ -321,6 +321,8 @@ class APIController extends Controller
|
||||||
$data = [
|
$data = [
|
||||||
'first_name' => $cust->getFirstName(),
|
'first_name' => $cust->getFirstName(),
|
||||||
'last_name' => $cust->getLastName(),
|
'last_name' => $cust->getLastName(),
|
||||||
|
'priv_third_party' => $cust->getPrivacyThirdParty(),
|
||||||
|
'priv_promo' => $cust->getPrivacyPromo(),
|
||||||
];
|
];
|
||||||
$res->setData($data);
|
$res->setData($data);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue