diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-07 19:54:08 -0800 |
---|---|---|
committer | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-07 19:54:08 -0800 |
commit | bf48b0abc18e098c2579ddd3bcd8694269e2db25 (patch) | |
tree | 59e98c8e0632d4c95952ceb1b39ead34c1ec7f66 /Firestore/Source/API | |
parent | 904a141217d6ab84f1759dc504a9329bd74adf68 (diff) |
Method renames
Diffstat (limited to 'Firestore/Source/API')
-rw-r--r-- | Firestore/Source/API/FIRDocumentSnapshot.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/API/FIRDocumentSnapshot.m b/Firestore/Source/API/FIRDocumentSnapshot.m index e4e75c6..7722927 100644 --- a/Firestore/Source/API/FIRDocumentSnapshot.m +++ b/Firestore/Source/API/FIRDocumentSnapshot.m @@ -116,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN } return [self convertedObject:[self.internalDocument data] - options:[FSTFieldValueOptions fieldValueOptions:options]]; + options:[FSTFieldValueOptions optionsForSnapshotOptions:options]]; } - (nullable id)valueForField:(id)field { @@ -135,7 +135,7 @@ NS_ASSUME_NONNULL_BEGIN } FSTFieldValue *fieldValue = [[self.internalDocument data] valueForPath:fieldPath.internalValue]; - return [self convertedValue:fieldValue options:[FSTFieldValueOptions fieldValueOptions:options]]; + return [self convertedValue:fieldValue options:[FSTFieldValueOptions optionsForSnapshotOptions:options]]; } - (nullable id)objectForKeyedSubscript:(id)key { |