Session.findByIdAndDelete missing?
ADumaine opened this issue · comments
Allan Dumaine commented
In the logout and session APIs there are calls to Session.findByIdAndDelete but I am not finding that method in the Session model (or a search of the repository).
Reza Akhavan commented
Thanks for creating an issue. It's not missing. Models are extended classes of mongo-models
.
Allan Dumaine commented
Sorry, I was porting to postgres and had removed the reference to mongo-models and did not remember to look there. Thanks for the quick response.