fix request headers

This commit is contained in:
Ivan Socolsky 2017-02-03 12:17:41 -03:00
parent fd7e26372c
commit b9d0b16674
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with 1 additions and 1 deletions

View File

@ -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,
},