diff --git a/expo_project/screens/SurveyScreen.js b/expo_project/screens/SurveyScreen.js index 8074f40..7263a00 100644 --- a/expo_project/screens/SurveyScreen.js +++ b/expo_project/screens/SurveyScreen.js @@ -320,7 +320,7 @@ class SurveyScreen extends React.Component { .collection("survey") .doc(surveyId) .collection("dataPoints") - .doc(marker.firestoreId) + .doc(marker.id) .update({ location: marker.location }); } }