diff --git a/build.gradle b/build.gradle index d56dc1d..fec1434 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ repositories { jcenter() } -version = '1.1.1' +version = '1.1.2' // coveralls plugin depends on xml format report diff --git a/src/main/java/com/invoiced/entity/Customer.java b/src/main/java/com/invoiced/entity/Customer.java index e180b43..e957bd2 100644 --- a/src/main/java/com/invoiced/entity/Customer.java +++ b/src/main/java/com/invoiced/entity/Customer.java @@ -203,7 +203,7 @@ public Invoice invoice() throws EntityException { try { - String response = this.getConnection().post(url, null, ""); + String response = this.getConnection().post(url, null, "{}"); invoice = Util.getMapper().readValue(response, Invoice.class); invoice.setConnection(this.getConnection());