From cf1ac63d2cf7a533080a225a7a3b8790c3f23866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BCnnen?= <7766565+DavidKuennen@users.noreply.github.com> Date: Thu, 12 Oct 2017 18:22:48 +0200 Subject: [PATCH] [firestore] Fix _metadata not defined error in DocumentSnapshot --- lib/modules/firestore/DocumentSnapshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {