fix param method in customFieldsEdit

This commit is contained in:
iyzoer 2017-08-29 09:49:43 +03:00
parent 2b2dbc4a48
commit 0185de6dc3

View File

@ -236,7 +236,7 @@ class RetailcrmApiClient5
return $this->client->makeRequest( return $this->client->makeRequest(
"/custom-fields/$entity/edit/{$customField['code']}", "/custom-fields/$entity/edit/{$customField['code']}",
$this->client::METHOD_POST, RetailcrmHttpClient::METHOD_POST,
array('customField' => json_encode($customField)) array('customField' => json_encode($customField))
); );
} }