Skip to content

Commit

Permalink
change conditional for response parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
rwhite27 committed Jan 8, 2020
1 parent fba4761 commit a21506c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zoho/CRM/Request/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a21506c

Please sign in to comment.