node-red-contrib-firebase-data
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "node-red-contrib-firebase-data", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "minh hien <taminhhien.mor.vn@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "The simplest of simple nodes with box note", |
@@ -18,3 +18,5 @@ var request = require('request'); | ||
newObj = msg.payload | ||
} | ||
} | ||
if (typeof newObj != 'object') newObj = JSON.parse(newObj); | ||
@@ -28,3 +30,3 @@ if (methodValue == "msg.method" || methodValue == "") { | ||
url: "https://" + firebase + ".firebaseio.com/" + childPath + jsonPath, | ||
body: JSON.stringify(JSON.parse(newObj)) | ||
body: JSON.stringify(newObj) | ||
}; | ||
@@ -31,0 +33,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16377
43
0