DocumentReference return sensitive data – Firestore – CPanel
I have a "post" and "user" collection, in the Post I attached "userId" as a reference to the user document Everything works perfectly except the get().data() method I call on the Post document exposes all sensitive data (which I will…