mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-08 01:00:31 +03:00
c
This commit is contained in:
4
app.js
4
app.js
@@ -118,8 +118,8 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, {
|
||||
path: `/api/v1/skills/${config.notification.skill_id}/callback/state`,
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': config.notification.oauth_token
|
||||
'Content-Type': `application/json`,
|
||||
'Authorization': `OAuth ${config.notification.oauth_token}`
|
||||
}
|
||||
}, res => {
|
||||
console.log(`statusCode: ${res.statusCode}`)
|
||||
|
Reference in New Issue
Block a user