The Scenario is,
When deleting a user, we are just updating a field called status to -1.
But while adding a user with that deleted email id, the built in user model of loopback throws error as email already exists since it checks only whether the email exists or not. I want to check whether an email exists with status 1(active user). Is it possible?
via Sanjay Kumar N S
No comments:
Post a Comment