summaryrefslogtreecommitdiffstats
path: root/examples/helpers/mail/example.js
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-13 18:15:46 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-13 18:15:46 -0700
commitaffdb34bf79df79c497b8079e0d7769a89e133fd (patch)
treefd8f4d330100ff0869ffd65c01e701a28f8c67cc /examples/helpers/mail/example.js
parent1313e7e8bfbf35994b79b6b7a1bb84cb40c4f328 (diff)
downloadsendgrid-nodejs-affdb34bf79df79c497b8079e0d7769a89e133fd.zip
sendgrid-nodejs-affdb34bf79df79c497b8079e0d7769a89e133fd.tar.gz
sendgrid-nodejs-affdb34bf79df79c497b8079e0d7769a89e133fd.tar.bz2
Version Bump v3.0.0: full v3 Web API support
Diffstat (limited to 'examples/helpers/mail/example.js')
-rw-r--r--examples/helpers/mail/example.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/helpers/mail/example.js b/examples/helpers/mail/example.js
index ab5640d..4959fe0 100644
--- a/examples/helpers/mail/example.js
+++ b/examples/helpers/mail/example.js
@@ -142,7 +142,7 @@ function send(toSend){
var emptyRequest = require('sendgrid-rest').request
var requestPost = JSON.parse(JSON.stringify(emptyRequest))
requestPost.method = 'POST'
- requestPost.path = '/v3/mail/send/beta'
+ requestPost.path = '/v3/mail/send'
requestPost.requestBody = requestBody
sg.API(requestPost, function (response) {
console.log(response.statusCode)