Cloud Functions for Firebase — Device to Device Push Notification
Sinan Yılmaz
599

Hello, i am getting below error. Any idea how can i resolve this.

TypeError: Cannot read property 'from' of null
at exports.sendNotification.functions.database.ref.onWrite.event (/user_code/index.js:8:34)
at /user_code/node_modules/firebase-functions/lib/cloud-functions.js:35:20
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.