summaryrefslogtreecommitdiffstats
path: root/lib/sendgrid.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sendgrid.js')
-rw-r--r--lib/sendgrid.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js
index 38ab63e..73899ae 100644
--- a/lib/sendgrid.js
+++ b/lib/sendgrid.js
@@ -7,7 +7,6 @@ function SendGrid (apiKey, host, globalHeaders) {
var Client = require('sendgrid-rest').Client
var globalRequest = JSON.parse(JSON.stringify(require('sendgrid-rest').emptyRequest));
globalRequest.host = host || "api.sendgrid.com";
- globalRequest.headers['Content-Type'] = 'application/json'
globalRequest.headers['Authorization'] = 'Bearer '.concat(apiKey)
globalRequest.headers['User-Agent'] = 'sendgrid/' + package_json.version + ';nodejs'
if (globalHeaders) {