diff --git a/Model/Api/Data.php b/Model/Api/Data.php index 7d609b6..a4b23bd 100644 --- a/Model/Api/Data.php +++ b/Model/Api/Data.php @@ -1206,7 +1206,7 @@ public function setConfig($mage_store_id, $configName, $scope, $newValue) */ public function getVersion() { - return '2.2.8'; + return '2.2.9'; } /** diff --git a/Serializer/CustomerSerializer.php b/Serializer/CustomerSerializer.php index 037f46e..96f660f 100644 --- a/Serializer/CustomerSerializer.php +++ b/Serializer/CustomerSerializer.php @@ -54,6 +54,7 @@ public function serialize(\Magento\Customer\Api\Data\CustomerInterface $customer $address = $customer->getAddresses(); $customerInfo = [ + 'id' => (int)$customer->getId(), 'email' => $customer->getEmail(), 'accepts_marketing' => $checkSubscriber->isSubscribed(), 'title' => $customer->getPrefix(), diff --git a/composer.json b/composer.json index d85f43a..f5a9a6a 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "lib-libxml": "*" }, "type": "magento2-module", - "version": "2.2.8", + "version": "2.2.9", "license": [ "OSL-3.0", "AFL-3.0" diff --git a/etc/module.xml b/etc/module.xml index ff43633..c495534 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,5 +1,5 @@ - +