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

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)