I have created a collection with
db.collection("userCal/"+currentUserUID+"/activities").add({event})
and now im trying to query all of this data from firebase but i dont think im doing it correctly.
it looks like this in firebase
and inside activities it looks like this:
I have this right not but its failing.
let doc = await fire
.firestore()
.collection('userCal')
.doc(currentUserUID)
.collection("activities")
.get()
let dataObj = doc.data();
console.log(dataObj);

