diff --git a/system/library/retailcrm/RetailcrmApiClient5.php b/system/library/retailcrm/RetailcrmApiClient5.php index bf80d53..2c71346 100644 --- a/system/library/retailcrm/RetailcrmApiClient5.php +++ b/system/library/retailcrm/RetailcrmApiClient5.php @@ -236,7 +236,7 @@ class RetailcrmApiClient5 return $this->client->makeRequest( "/custom-fields/$entity/edit/{$customField['code']}", - $this->client::METHOD_POST, + RetailcrmHttpClient::METHOD_POST, array('customField' => json_encode($customField)) ); }