I have this small app with Firebase and i\'m implementing CRUD operations. The issue comes when I have to delete a post. I get this error: Error: Reference.child failed: F
Error: Reference.child failed: F
You seem to be changing the meaning of p from post to an id. Assuming that each post has an id property, you probably want:
p
post
id
delete(post) { this.postService.deletePost(post.id) }