We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df9d5c commit 6a96514Copy full SHA for 6a96514
lib/modules/database/reference.js
@@ -85,7 +85,7 @@ export default class Reference extends ReferenceBase {
85
const _value = this._serializeAnyType(value);
86
return promisify('push', FirestackDatabase)(path, _value)
87
.then(({ ref }) => {
88
- const newRef = new Reference(this.db, ref.split('/'));
+ const newRef = new Reference(this.db, ref);
89
if (isFunction(onComplete)) return onComplete(null, newRef);
90
return newRef;
91
}).catch((e) => {
0 commit comments