From c0c7ac6a7ee54d2e83420aa379b749378ec47a81 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Thu, 28 Jul 2016 10:47:24 +0300 Subject: [PATCH] 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 );