js: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function
This commit is contained in:
parent
05a35b7b82
commit
e48e5c290e
|
@ -4,6 +4,7 @@
|
|||
"node_modules",
|
||||
"android/build",
|
||||
"android/.idea",
|
||||
"ios/.idea",
|
||||
"android/.gradle",
|
||||
"android/gradle",
|
||||
".idea"
|
||||
|
|
|
@ -22,7 +22,6 @@ export default class Snapshot {
|
|||
this.ref = ref;
|
||||
this.key = snapshot.key;
|
||||
this.value = snapshot.value;
|
||||
this.exists = snapshot.exists || true;
|
||||
this.priority = snapshot.priority === undefined ? null : snapshot.priority;
|
||||
this.childKeys = snapshot.childKeys || [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue