Remove unneeded request parameters in Mandrill request
This commit is contained in:
parent
1b1e1bb3e9
commit
303634dedc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user