Skip to content

Commit 5575c96

Browse files
Merge pull request #116 from avasachinbaijal/AS-9
Fixes for AS-9 (Transaction calls are not returning the result with version 20.12 )
2 parents 7faf151 + e357b23 commit 5575c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/avalara/avatax/rest/client/RestCall.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public T call() throws Exception {
149149
String json = null;
150150
try {
151151
HttpEntity entity = response.getEntity();
152-
if (entity!=null && entity.getContentLength()>0)
152+
if (entity!=null)
153153
json = EntityUtils.toString(entity);
154154

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

0 commit comments

Comments
 (0)