From 7a60213a7ea9c04dd3b26eb2b002e4d8926db1f2 Mon Sep 17 00:00:00 2001 From: cyradin Date: Thu, 22 Sep 2016 19:10:16 +0300 Subject: [PATCH] fix storeSettingsEdit --- lib/RetailCrm/ApiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index 8aa0eb6..9d246a3 100644 --- a/lib/RetailCrm/ApiClient.php +++ b/lib/RetailCrm/ApiClient.php @@ -831,7 +831,7 @@ class ApiClient return $this->client->makeRequest( sprintf('/store/setting/%s/edit', $configuration['code']), Client::METHOD_POST, - $configuration + array('configuration' => json_encode($configuration)) ); }