diff --git a/lib/modules/firestore/DocumentSnapshot.js b/lib/modules/firestore/DocumentSnapshot.js index ea8e4394..ccff97a6 100644 --- a/lib/modules/firestore/DocumentSnapshot.js +++ b/lib/modules/firestore/DocumentSnapshot.js @@ -40,7 +40,7 @@ export default class DocumentSnapshot { } get metadata(): SnapshotMetadata { - return _metadata; + return this._metadata; } get ref(): DocumentReference {