Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d6083b5

Browse files
Merge pull request #899 from vcooley/fix/special-fields-on-add
[iOS] Fix special fields before adding documents
2 parents f399d03 + 3368b22 commit d6083b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ firebase.firestore.add = (collectionPath: string, document: any): Promise<firest
19081908
reject("Make sure 'Firebase/Firestore' is in the plugin's Podfile");
19091909
return;
19101910
}
1911-
1911+
fixSpecialFields(document);
19121912
const defaultFirestore = FIRFirestore.firestore();
19131913
const fIRDocumentReference = defaultFirestore
19141914
.collectionWithPath(collectionPath)

0 commit comments

Comments
 (0)