diff --git a/system/library/intarocrm/apihelper.php b/system/library/intarocrm/apihelper.php index 75938ee..27b8346 100644 --- a/system/library/intarocrm/apihelper.php +++ b/system/library/intarocrm/apihelper.php @@ -63,7 +63,7 @@ class ApiHelper )); try { - $this->intaroApi->customerCreate($customer); + $this->intaroApi->customerEdit($customer); } catch (ApiException $e) { $this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . $e->getMessage()); $this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . json_encode($order)); @@ -227,4 +227,4 @@ class ApiHelper $this->log = new Monolog\Logger('intarocrm'); $this->log->pushHandler(new Monolog\Handler\StreamHandler($this->dir . 'intarocrm_module.log', Monolog\Logger::INFO)); } -} \ No newline at end of file +}