Trying to remove single instance from firebase database using express but I am failing for some reason. This is what i have tried

后端 未结 0 1611
抹茶落季
抹茶落季 2021-01-19 05:20
  //Delete single instance
app.delete(\'/:id\', (req, res) => {
  db.ref(req.params.id).remove()
  .then(function(){
    console.log("removed")
  })
  .         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题