Skip to content

Commit

Permalink
Merge pull request #66 from vascmart-te/CP-2318
Browse files Browse the repository at this point in the history
CP-2318 Fix condition to read body response
  • Loading branch information
vascmart-te authored Aug 29, 2024
2 parents 083eb0f + 4f19e41 commit 04755d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private <T> ApiResponse<T> processResponse(HttpResponse<InputStream> response,
return new ApiResponse<>(
response.statusCode(),
response.headers().map(),
body == null ? null : reader.readValue(body)
reader.getValueType().hasRawClass(Void.class) ? null : reader.readValue(body)
);
}
}
Expand Down

0 comments on commit 04755d9

Please sign in to comment.