Skip to content

Commit 9d058e6

Browse files
committed
Don't override function
1 parent b1f0332 commit 9d058e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ios/Firestack/FirestackDatabase.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ - (NSDictionary *) snapshotToDict:(FIRDataSnapshot *) snapshot
137137
[dict setValue:snapshot.key forKey:@"key"];
138138
NSDictionary *val = snapshot.value;
139139
[dict setObject:val forKey:@"value"];
140-
NSDictionary *exportVal = snapshot.valueInExportFormat;
141-
[dict setObject:exportVal forKey:@"exportVal"];
140+
NSDictionary *exportValue = snapshot.valueInExportFormat;
141+
[dict setObject:exportValue forKey:@"exportValue"];
142142
// Snapshot ordering
143143
NSMutableArray *childKeys = [NSMutableArray array];
144144
if (snapshot.childrenCount > 0) {

lib/modules/database/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class Snapshot {
2222
this.ref = ref;
2323
this.key = snapshot.key;
2424
this.value = snapshot.value;
25-
this.exportVal = snapshot.exportVal;
25+
this.exportValue = snapshot.exportValue;
2626
this.exists = snapshot.exists || true;
2727
this.priority = snapshot.priority === undefined ? null : snapshot.priority;
2828
this.childKeys = snapshot.childKeys || [];
@@ -37,7 +37,7 @@ export default class Snapshot {
3737
}
3838

3939
exportVal() {
40-
return this.exportVal;
40+
return this.exportValue;
4141
}
4242

4343
child(path: string) {

0 commit comments

Comments
 (0)