diff --git a/src/main/java/net/frozenorb/apiv3/unsorted/Notification.java b/src/main/java/net/frozenorb/apiv3/unsorted/Notification.java index d23b42d..3118e56 100644 --- a/src/main/java/net/frozenorb/apiv3/unsorted/Notification.java +++ b/src/main/java/net/frozenorb/apiv3/unsorted/Notification.java @@ -27,10 +27,7 @@ public final class Notification { message.put("from_email", "no-reply@minehq.com"); message.put("from_name", "MineHQ Network"); message.put("to", new JsonArray().add( - new JsonObject() - .put("email", email) - .putNull("name") - .put("type", "to") + new JsonObject().put("email", email) )); MandrillUtils.sendEmail(message, callback);