From b1e7dbc52c9eb6594807d4581bef6d9560ccce36 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Thu, 28 Jul 2016 10:48:15 +0300 Subject: [PATCH] store settings url fix (#23) * improve retry * store settings api url fix --- lib/RetailCrm/ApiClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index 2c1defe..e8795a0 100644 --- a/lib/RetailCrm/ApiClient.php +++ b/lib/RetailCrm/ApiClient.php @@ -777,7 +777,7 @@ class ApiClient } return $this->client->makeRequest( - "/store/settings/$code", + "/store/setting/$code", Client::METHOD_GET ); } @@ -802,7 +802,7 @@ class ApiClient } return $this->client->makeRequest( - sprintf('/store/settings/%s/edit', $configuration['code']), + sprintf('/store/setting/%s/edit', $configuration['code']), Client::METHOD_POST, $configuration );