In Cloud Functions for Firebase, for example:
exports.makeUppercase = functions.database.ref('/messages/{pushId}/original')
.onWrite(event => {
//how to access data at another node, for example
//important/messages/{pushId}
})
How to do I read data at another node, for example /important/messages/{pushId}
? Thanks
Check this example for instance: https://github.com/firebase/functions-samples/blob/master/fcm-notifications/functions/index.js