homebridge-syntex-webhooks
Advanced tools
Comparing version 1.0.5-b5 to 1.0.5-b6
17
index.js
@@ -86,5 +86,3 @@ var request = require('request'); | ||
if(obj) | ||
{ | ||
log(obj.devices); | ||
{ | ||
var found = false; | ||
@@ -133,2 +131,4 @@ | ||
}); | ||
log(obj.devices); | ||
} | ||
@@ -138,3 +138,3 @@ | ||
{ | ||
log('\x1b[33m%s\x1b[0m', "[INFO]", "Storage.json wurde ohne Inhalt geladen!"); | ||
log('\x1b[31m%s\x1b[0m', "[ERROR]", "Storage.json konnte nicht geladen werden!"); | ||
@@ -199,10 +199,5 @@ if(urlParams.type) | ||
if(!obj) | ||
if(!obj && !err) | ||
{ | ||
if(!err) | ||
{ | ||
log('\x1b[31m%s\x1b[0m', "[ERROR 0]", "Storage.json konnte nicht geladen werden!"); | ||
} | ||
log('\x1b[31m%s\x1b[0m', "[ERROR 2]", "Storage.json konnte nicht geladen werden!"); | ||
log('\x1b[33m%s\x1b[0m', "[INFO]", "Storage.json wurde ohne Inhalt geladen!"); | ||
} | ||
@@ -209,0 +204,0 @@ }); |
{ | ||
"name": "homebridge-syntex-webhooks", | ||
"version": "1.0.5-b5", | ||
"version": "1.0.5-b6", | ||
"description": "A webhook plugin for HTTP devices", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30747
549