Skip to content

Commit

Permalink
requestId and data separated
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Oct 17, 2018
1 parent 9b8a858 commit ffe39dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SDK/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ private function request(EndpointInterface $endpoint) : array
'status' => $response->getStatusCode(),
'reason' => $response->getReasonPhrase(),
'headers' => $response->getHeaders(),
'data' => $responseBody
'requestId' => $responseBody['requestId'],
'data' => $responseBody['data']

];
}

Expand Down

0 comments on commit ffe39dd

Please sign in to comment.