Permalink
Browse files

minor

  • Loading branch information...
1 parent 7e16b5d commit 842a640450a3d6ded1a53dd4cd500961526769c5 @mirkokiefer mirkokiefer committed Jul 16, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/ses.js
View
@@ -1,5 +1,5 @@
exports.init = function (genericAWSClient) {
- var createSESClient = function (accessKeyId, secretAccessKey, options) {
+ return function (accessKeyId, secretAccessKey, options) {
options = options || {};
var aws = genericAWSClient({
host: options.host || "email.us-east-1.amazonaws.com",
@@ -14,6 +14,5 @@ exports.init = function (genericAWSClient) {
return aws.call(action, query, callback);
}
return {call: callFn}
- };
- return createSESClient;
-};
+ }
+}

0 comments on commit 842a640

Please sign in to comment.