mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
Merge pull request #499 from DavidKuennen/patch-1
[firestore] Fix _metadata not defined error in DocumentSnapshot
This commit is contained in:
@@ -40,7 +40,7 @@ export default class DocumentSnapshot {
|
||||
}
|
||||
|
||||
get metadata(): SnapshotMetadata {
|
||||
return _metadata;
|
||||
return this._metadata;
|
||||
}
|
||||
|
||||
get ref(): DocumentReference {
|
||||
|
||||
Reference in New Issue
Block a user