added path config variable for rtdb-get

This commit is contained in:
Peter Svensson
2019-06-23 17:29:38 +02:00
parent 56b47400bd
commit 632e06c586
4 changed files with 38 additions and 13 deletions

View File

@ -20,6 +20,9 @@ module.exports = function(RED) {
this.admin.database().ref(path).set(obj).then((res)=>{
console.log('firebase set result '+res)
console.dir(res)
}).catch((err)=>{
console.log('------ ERROR ------')
console.dir(err)
})
}
}.bind(this));