From 2e21363749fbe51646e5d3ee7238a73abfa8b760 Mon Sep 17 00:00:00 2001 From: Calin Date: Wed, 17 Oct 2018 12:20:23 +0300 Subject: [PATCH] fixed method name renamed on the community version for apiconnector customer --- Plugin/CustomerPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/CustomerPlugin.php b/Plugin/CustomerPlugin.php index 2745412..ee7878c 100644 --- a/Plugin/CustomerPlugin.php +++ b/Plugin/CustomerPlugin.php @@ -71,7 +71,7 @@ public function __construct( * @param \Magento\Customer\Model\Customer $customer * @return mixed */ - public function beforeSetCustomerData(\Dotdigitalgroup\Email\Model\Apiconnector\Customer $subject, $customer) + public function beforeSetContactData(\Dotdigitalgroup\Email\Model\Apiconnector\Customer $subject, $customer) { $this->customer = $customer; $websiteId = $customer->getWebsiteId();