From 1ce0e64f2e7396e93f09cd00d25dc8948a353ec4 Mon Sep 17 00:00:00 2001 From: Maurice Kleine Date: Wed, 1 Feb 2017 14:08:29 +0100 Subject: [PATCH] Make firestackModule.js working for v3 `this._firestack.database.ref(...refName)` (line 39) should be `this._firestack.database().ref(...refName)` --- lib/firestackModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/firestackModule.js b/lib/firestackModule.js index 94cda50..a2e31a3 100644 --- a/lib/firestackModule.js +++ b/lib/firestackModule.js @@ -56,7 +56,7 @@ export class FirestackModule { makeRef(path) { const refName = [this._refName, path] - const ref = this._firestack.database.ref(...refName); + const ref = this._firestack.database().ref(...refName); return this._makeRef(ref); }