I have this simple function which seems to output success that document has been deleted but I can see still the list of document on my Battles.
What am I doing wrong