We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996207e commit 48f6957Copy full SHA for 48f6957
resolver/common/account.php
@@ -47,13 +47,11 @@ public function customerList($args)
47
48
public function getCustomer($args) {
49
$this->load->model('common/customer');
50
-
51
- $customer_info = $this->model_common_customer->getCustomer($args['id']);
52
+ $customer_info = $this->get($args['id']);
53
return array(
54
- 'id' => $customer_info['customer_id'],
55
- 'firstName' => $customer_info['firstname'],
56
- 'lastName' => $customer_info['lastname'],
+ 'id' => $customer_info['id'],
+ 'firstName' => $customer_info['firstName'],
+ 'lastName' => $customer_info['lastName'],
57
'email' => $customer_info['email'],
58
);
59
}
0 commit comments