1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 11:36:58 +00:00

Fix typo in WeMo node (#903)

* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Fix some messages

* Bump wemo version

* Fix typo
This commit is contained in:
Ben Hardill 2022-04-18 18:24:06 +01:00 committed by GitHub
parent 2f1f08b070
commit c833709368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ WeMoNG.prototype.getSocketStatus = function getSocketStatus(socket) {
headers: {
'SOAPACTION': getSocketState.action,
'Content-Type': 'text/xml; charset="utf-8"',
'Accept': ''
'Accept': '',
'Content-Length': getSocketState.body.length
}
}

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-wemo",
"version": "0.2.2",
"version": "0.2.3",
"description": "Input and Output nodes for Belkin WeMo devices",
"repository" : {
"type":"git",