Running:
firebase experimental:functions:shell
When I try to call my function like so:
sendEmail('data', {params: 'commentId:12'})
I get:
Info: Function crashed
TypeError: Cannot use 'in' operator to search for 'exists' in data
How does one initiate the new onWrite on a Firestore
triggered cloud function
With version 3.15.1 of the Firebase CLI, you can now run Firestore functions locally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With