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); }