Update in firebase Cloud

0

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?

    
asked by Eze 29.06.2018 в 00:26
source

0 answers