-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login Endpoint #169
Login Endpoint #169
Conversation
Actually; should we even bother with 422 in the first place? We could just do 400 for any malformed, empty, or otherwise invalid inputs. |
I think we're reserving 400 for invalid syntax; i.e., valid JSON never returns 400. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good overall. Just one or two things to tweak. Since @Dalet didn't agree about not using consts, I don't mind if you want to revert them.
Solves: #149