Skip to content

Commit

Permalink
Merge pull request #116 from avasachinbaijal/AS-9
Browse files Browse the repository at this point in the history
Fixes for AS-9 (Transaction calls are not returning the result with version 20.12 )
  • Loading branch information
svc-developer authored Jan 7, 2022
2 parents 7faf151 + e357b23 commit 5575c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/avalara/avatax/rest/client/RestCall.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public T call() throws Exception {
String json = null;
try {
HttpEntity entity = response.getEntity();
if (entity!=null && entity.getContentLength()>0)
if (entity!=null)
json = EntityUtils.toString(entity);

if (response.getStatusLine().getStatusCode() / 100 != 2)
Expand Down

0 comments on commit 5575c96

Please sign in to comment.