fix request headers
This commit is contained in:
parent
fd7e26372c
commit
b9d0b16674
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue