mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-02-16 22:43:18 +03:00
replace coustmerCreate call to customerEdit
This commit is contained in:
parent
dcceec1766
commit
9f32b2a6d8
@ -63,7 +63,7 @@ class ApiHelper
|
|||||||
));
|
));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->intaroApi->customerCreate($customer);
|
$this->intaroApi->customerEdit($customer);
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
$this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . $e->getMessage());
|
$this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . $e->getMessage());
|
||||||
$this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . json_encode($order));
|
$this->log->addError('['.$this->domain.'] RestApi::orderCreate:' . json_encode($order));
|
||||||
@ -227,4 +227,4 @@ class ApiHelper
|
|||||||
$this->log = new Monolog\Logger('intarocrm');
|
$this->log = new Monolog\Logger('intarocrm');
|
||||||
$this->log->pushHandler(new Monolog\Handler\StreamHandler($this->dir . 'intarocrm_module.log', Monolog\Logger::INFO));
|
$this->log->pushHandler(new Monolog\Handler\StreamHandler($this->dir . 'intarocrm_module.log', Monolog\Logger::INFO));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user