Skip to content

Commit 10bf743

Browse files
committed
DocumentSnapshot. bundleSource & name fix
1 parent 7588ffd commit 10bf743

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/firestore/src/api/snapshot.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ export class DocumentSnapshot<
508508
// eslint-disable-next-line @typescript-eslint/no-explicit-any
509509
const result: any = {};
510510
result['bundle'] = '';
511-
result['source'] = 'DocumentSnapshot';
511+
result['bundleSource'] = 'DocumentSnapshot';
512+
result['bundleName'] = this._key.toString();
512513

513514
if (
514515
!document ||

0 commit comments

Comments
 (0)