forked from loafle/openapi-generator-original
ApiException doesn't use deserialized data
This is a fix for #1394. I had not merged the data correctly after the rebase
This commit is contained in:
@@ -246,7 +246,7 @@ class ApiClient
|
||||
|
||||
throw new ApiException(
|
||||
"[".$response_info['http_code']."] Error connecting to the API ($url)",
|
||||
$response_info['http_code'], $http_header, $http_body
|
||||
$response_info['http_code'], $http_header, $data
|
||||
);
|
||||
}
|
||||
return array($data, $http_header);
|
||||
|
||||
Reference in New Issue
Block a user