From a21506cfdc0865cded502ec1f938a298eac6efa3 Mon Sep 17 00:00:00 2001 From: Rafael White Date: Wed, 8 Jan 2020 13:51:56 -0400 Subject: [PATCH] change conditional for response parsing --- src/Zoho/CRM/Request/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zoho/CRM/Request/Response.php b/src/Zoho/CRM/Request/Response.php index bb6c84d..cfea7c4 100755 --- a/src/Zoho/CRM/Request/Response.php +++ b/src/Zoho/CRM/Request/Response.php @@ -127,7 +127,7 @@ public function isSuccess() */ protected function parseResponse() { - if ($this->method == 'get' && ($this->module == 'Leads' || $this->module == 'Vendors')) { + if ($this->method == 'get' && ($this->module == 'Contacts' || $this->module == 'Accounts' || $this->module == 'Potentials')) { $this->parseResponseGetRecords(); } elseif ($this->method == 'get' && $this->module == 'Users') { $this->parseResponseGetUsers();