hngx-org/Metal-food-backend

Login endpoint

Opened this issue · 0 comments

Login endpoint for organisation and user is not validating both endpoint hence raising exceptions,

  1. Modify the login in endpoint to query the User model and organisation model to log them in if present in the database