Browse Source

fix request headers

feat/estimateFee-limit
Ivan Socolsky 8 years ago
parent
commit
b9d0b16674
No known key found for this signature in database GPG Key ID: FAECE6A05FAA4F56
  1. 2
      lib/pushnotificationsservice.js

2
lib/pushnotificationsservice.js

@ -370,7 +370,7 @@ PushNotificationsService.prototype._makeRequest = function(opts, cb) {
url: self.pushServerUrl + '/send', url: self.pushServerUrl + '/send',
method: 'POST', method: 'POST',
json: true, json: true,
header: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'Authorization': 'key=' + self.authorizationKey, 'Authorization': 'key=' + self.authorizationKey,
}, },

Loading…
Cancel
Save