i used firestore and i just want to passed the statut:'en attente' to statut:'validé' but when i tried to update it, it remove all my object. i tried a few different solution, like the .set {merge:true} but it still remove evrything. Do you guys have some ideas ?
This is also my code :
firestore()
.collection("Teams")
.doc(doc.id)
.update(
{
membersList: { statut: "Validé" },
},
);