Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 83edb53

Browse files
author
Jacob Wenger
committed
Merge pull request #544 from jamestalmage/remove-redundant-ref-call
remove redundant call to `ref.ref()`
2 parents 0f131a8 + 99d93d2 commit 83edb53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
if( angular.isFunction(ref.set) || !angular.isObject(data) ) {
5454
// this is not a query, just do a flat set
55-
ref.ref().set(data, this._handle(def, ref));
55+
ref.set(data, this._handle(def, ref));
5656
}
5757
else {
5858
var dataCopy = angular.extend({}, data);

0 commit comments

Comments
 (0)