diff --git a/lib/pushnotificationsservice.js b/lib/pushnotificationsservice.js index 493689f..badd855 100644 --- a/lib/pushnotificationsservice.js +++ b/lib/pushnotificationsservice.js @@ -370,7 +370,7 @@ PushNotificationsService.prototype._makeRequest = function(opts, cb) { url: self.pushServerUrl + '/send', method: 'POST', json: true, - header: { + headers: { 'Content-Type': 'application/json', 'Authorization': 'key=' + self.authorizationKey, },