From d6a4230aed6fdecb4d6c19b6f8bb9bde5f45cd62 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 21 Jan 2014 16:41:48 -0800 Subject: [PATCH] Fix the method args --- lib/connectors/mail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connectors/mail.js b/lib/connectors/mail.js index 0f20663a..1cdec0e5 100644 --- a/lib/connectors/mail.js +++ b/lib/connectors/mail.js @@ -82,7 +82,7 @@ MailConnector.prototype.transportForName = function(name) { * @return {Transport} transport */ -MailConnector.prototype.defaultTransport = function(name) { +MailConnector.prototype.defaultTransport = function() { return this.transports[0]; }