Closed autorunman22 closed 11 months ago
there is no remove
in pre. you can try using deleteOne
or deleteMany
you can read about this here
@autorunman22 let me know if there is anything else that I can help with. thank you
solved using findOneAndDelete
instead
The Pos record is not being deleted and there was never a log in console.