Skip to content

Commit

Permalink
fixed incomplete document id
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglabenz-g committed Mar 4, 2021
1 parent 8c4f419 commit 0ce5226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/firestore_bundle/bundle.py
Expand Up @@ -94,7 +94,7 @@ def add_document(
self.documents[_id] = _BundledDocument(
snapshot=snapshot,
metadata=BundledDocumentMetadata(
name=snapshot.id,
name=f'{snapshot._client._database_string}/{snapshot.reference.path}',
read_time=snapshot.read_time,
exists=snapshot.exists,
queries=original_queries,
Expand Down

0 comments on commit 0ce5226

Please sign in to comment.