I have the following code to update in firebase:
this.db.collection('users').doc(nombre).update({
'data_array' : {
status:estatus
}
})
.then(function () {
})
.catch(function (error) {
console.log("Error ! "+error);
});
This is the json, but I'm only interested in doing update for status. What do I have to correct in my code?