Skip to content

Commit 9b8a633

Browse files
committed
ApiException doesn't use deserialized data
This is a fix for #1394. I had not merged the data correctly after the rebase
1 parent dcc47a9 commit 9b8a633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/php/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class ApiClient
246246

247247
throw new ApiException(
248248
"[".$response_info['http_code']."] Error connecting to the API ($url)",
249-
$response_info['http_code'], $http_header, $http_body
249+
$response_info['http_code'], $http_header, $data
250250
);
251251
}
252252
return array($data, $http_header);

0 commit comments

Comments
 (0)