Remove unneeded request parameters in Mandrill request

This commit is contained in:
Colin McDonald 2016-07-23 19:53:08 -04:00
parent 1b1e1bb3e9
commit 303634dedc

View File

@ -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);