summaryrefslogtreecommitdiffstats
path: root/examples/scopes/scopes.js
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-08 11:57:13 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-08 11:57:13 -0700
commit223b7bf6b0f7a918f5dc7d49cef27fab4332fb6a (patch)
treed7dce33bf687674e397ed762ab353211f63994b4 /examples/scopes/scopes.js
parent561a3cd09af14ae948b06891cffdc66088db6aa3 (diff)
downloadsendgrid-nodejs-223b7bf6b0f7a918f5dc7d49cef27fab4332fb6a.zip
sendgrid-nodejs-223b7bf6b0f7a918f5dc7d49cef27fab4332fb6a.tar.gz
sendgrid-nodejs-223b7bf6b0f7a918f5dc7d49cef27fab4332fb6a.tar.bz2
Update sendgrid-rest dependency
Diffstat (limited to 'examples/scopes/scopes.js')
-rw-r--r--examples/scopes/scopes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scopes/scopes.js b/examples/scopes/scopes.js
index d5545bf..6c42f3d 100644
--- a/examples/scopes/scopes.js
+++ b/examples/scopes/scopes.js
@@ -4,7 +4,7 @@ var sg = require('../lib/sendgrid.js').SendGrid(process.env.SENDGRID_API_KEY)
// Retrieve a list of scopes for which this user has access.
// GET /scopes
-var request = sg.emptyRequest
+var request = sg.emptyRequest()
request.method = 'GET'
request.path = '/v3/scopes'
sg.API(request, function (response) {