2
0
mirror of synced 2025-01-11 06:35:51 +00:00

[firestore] Fix _metadata not defined error in DocumentSnapshot

This commit is contained in:
David Künnen 2017-10-12 18:22:48 +02:00 committed by GitHub
parent fde0b976c3
commit cf1ac63d2c

View File

@ -40,7 +40,7 @@ export default class DocumentSnapshot {
}
get metadata(): SnapshotMetadata {
return _metadata;
return this._metadata;
}
get ref(): DocumentReference {