added output ports for rtdb-push and firestore-add

This commit is contained in:
Peter Svensson
2019-06-22 16:02:14 +02:00
parent 782299982c
commit f9e47e2248
5 changed files with 8 additions and 4 deletions

View File

@ -20,6 +20,7 @@ module.exports = function(RED) {
this.admin.database().ref(path).push(obj).then((res)=>{
console.log('firebase set result '+res)
console.dir(res)
node.send({payload: res})
})
}
}.bind(this));