Skip to content

Commit a61ee09

Browse files
committed
fix(firestore): pass snapshotOptions before extracting refs
1 parent 1ace7e3 commit a61ee09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firestore/subscribe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function updateDataFromDocumentSnapshot<T>(
117117
const [data, refs] = extractRefs(
118118
// @ts-expect-error: FIXME: use better types
119119
// Pass snapshot options
120-
snapshot.data(),
120+
snapshot.data(options.snapshotOptions),
121121
walkGet(target, path),
122122
subs
123123
)

0 commit comments

Comments
 (0)