mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
replace coustmerCreate call to customerEdit
This commit is contained in:
parent
dcceec1766
commit
9f32b2a6d8
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user