replace coustmerCreate call to customerEdit

This commit is contained in:
Alex Lushpai 2014-08-20 14:48:43 +04:00
parent dcceec1766
commit 9f32b2a6d8

View File

@ -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));
}
}
}