forked from hovissimo/node-red-firebase
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
According to the Node's information, in order to use the "msg.childpath" property, the "childpath" field in the Node's configuration must be left blank. Unfortunately, this is incorrect. In order to use the "msg.childpath" property to set the childpath dynamically, the "childpath" field in the Node's configuration must be set to "msg.childpath." Otherwise, the childpath will be automatically set to the root of the database.
See line 167 in firebase_modify.js
//Parse out msg.childpath
var childpath = this.childpath
if(childpath == "msg.childpath"){ // <--- Here is the issue
if("childpath" in msg){
childpath = msg.childpath
}
}
Metadata
Metadata
Assignees
Labels
No labels