Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 1999dda

Browse files
Firestore onSnapshot update to support onError Callbacks. #1176 (fixed a merge error)
1 parent fe32f87 commit 1999dda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/firebase.ios.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,8 +2009,7 @@ firebase.firestore._getCollectionReference = (colRef?: FIRCollectionReference):
20092009

20102010
return {
20112011
id: colRef.collectionID,
2012-
parent: firebase.firestore.
2013-
mentReference(colRef.parent),
2012+
parent: firebase.firestore._getDocumentReference(colRef.parent),
20142013
doc: (documentPath?: string) => firebase.firestore.doc(collectionPath, documentPath),
20152014
add: document => firebase.firestore.add(collectionPath, document),
20162015
get: () => firebase.firestore.get(collectionPath),

0 commit comments

Comments
 (0)