summaryrefslogtreecommitdiffstats
path: root/examples/apikeys/apikeys.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/apikeys/apikeys.js')
-rw-r--r--examples/apikeys/apikeys.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/apikeys/apikeys.js b/examples/apikeys/apikeys.js
index 74f6a93..411035d 100644
--- a/examples/apikeys/apikeys.js
+++ b/examples/apikeys/apikeys.js
@@ -1,4 +1,4 @@
-var sg = require('sendgrid').SendGrid(process.env.SENDGRID_API_KEY)
+var sg = require('sendgrid')(process.env.SENDGRID_API_KEY)
///////////////////////////////////////////////////
// Create API keys