[firestore] Fix _metadata not defined error in DocumentSnapshot
This commit is contained in:
parent
fde0b976c3
commit
cf1ac63d2c
|
@ -40,7 +40,7 @@ export default class DocumentSnapshot {
|
||||||
}
|
}
|
||||||
|
|
||||||
get metadata(): SnapshotMetadata {
|
get metadata(): SnapshotMetadata {
|
||||||
return _metadata;
|
return this._metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
get ref(): DocumentReference {
|
get ref(): DocumentReference {
|
||||||
|
|
Loading…
Reference in New Issue