node-red-contrib-yandex-station-management 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ module.exports = function(RED) {
66
66
  headers:
67
67
  {
68
68
  'Content-Type': 'application/json',
69
- 'Authorization': 'Oauth ' + token
69
+ 'Authorization': 'OAuth ' + token
70
70
  }
71
71
  };
72
72
  // вариант для снижения частоты запросов на серверы ЯНдекса для обновления списка устройств. Требует тестирования.
@@ -183,7 +183,7 @@ module.exports = function(RED) {
183
183
  qs: { device_id: device.id, platform: device.platform },
184
184
  headers:
185
185
  {
186
- 'Authorization': 'Oauth ' + node.token,
186
+ 'Authorization': 'OAuth ' + node.token,
187
187
  'Content-Type': 'application/json'
188
188
  }
189
189
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-yandex-station-management",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Local management of YandexStation using API on websockets",
5
5
  "main": "index.js",
6
6
  "scripts": {