Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rwhite27 committed Jan 8, 2020
1 parent 268f248 commit fba4761
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Zoho/CRM/Request/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ protected function parseResponseGetRecords()
*/
protected function parseResponsePostRecords()
{
$responseData = current($this->responseData);
$data = current($responseData['data']);
$data = current($this->responseData['data']);
$this->status = $data['status'];
$this->recordId = array_key_exists('id', $data['details']) ? $data['details']['id'] : null;
}
Expand Down

0 comments on commit fba4761

Please sign in to comment.