diff options
Diffstat (limited to 'examples/asm/asm.js')
-rw-r--r-- | examples/asm/asm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/asm/asm.js b/examples/asm/asm.js index 1f3bbc9..5eaceaf 100644 --- a/examples/asm/asm.js +++ b/examples/asm/asm.js @@ -1,4 +1,4 @@ -var sg = require('../lib/sendgrid.js').SendGrid(process.env.SENDGRID_API_KEY) +var sg = require('sendgrid-nodejs').SendGrid(process.env.SENDGRID_API_KEY) /////////////////////////////////////////////////// // Create a new suppression group @@ -26,6 +26,7 @@ sg.API(request, function (response) { var request = sg.emptyRequest() request.queryParams["id"] = '1' + request.method = 'GET' request.path = '/v3/asm/groups' sg.API(request, function (response) { |