isAdmin =is true help me for this

I need delete this post if is good (this condition work)
or user have admin true in database mongoo(this dont work)

You will need to tell us what you are trying to do with the code and what is happening instead. Also, you will need to provide your full code (i.e. GitHub) for your project so we can test things out.