diff options
author | scottmotte <scott@scottmotte.com> | 2014-02-09 09:31:33 -0500 |
---|---|---|
committer | scottmotte <scott@scottmotte.com> | 2014-02-09 09:31:33 -0500 |
commit | c3b3f6651aa25eb647908b087f8750e7d28ec520 (patch) | |
tree | 9f65fd51912073cde0cd3ba41b1a21ea57a37a00 /lib/sendgrid.js | |
parent | 800785a1e02062828d77e8ebc0c3fda01bdc1686 (diff) | |
download | sendgrid-nodejs-c3b3f6651aa25eb647908b087f8750e7d28ec520.zip sendgrid-nodejs-c3b3f6651aa25eb647908b087f8750e7d28ec520.tar.gz sendgrid-nodejs-c3b3f6651aa25eb647908b087f8750e7d28ec520.tar.bz2 |
Change to using API url. Pull request #112
Diffstat (limited to 'lib/sendgrid.js')
-rw-r--r-- | lib/sendgrid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js index 63c52e6..085085d 100644 --- a/lib/sendgrid.js +++ b/lib/sendgrid.js @@ -37,7 +37,7 @@ var Sendgrid = function(api_user, api_key, options) { var _send = function(email, callback) { var postOptions = { method : 'POST', - uri : "https://sendgrid.com/api/mail.send.json" + uri : "https://api.sendgrid.com/api/mail.send.json" }; var options = _.merge(this.options, postOptions); |