Skip to content
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

fix: user name cannot be empty #23933

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alespour
Copy link
Contributor

@alespour alespour commented Nov 21, 2022

Description

When creating user via API, and name is not supplied or empty, server throws 500 Internal Server Error. This PR adds name check and returns 400 Bad Request in such case.

Context

User should handle invalid input and return appropriate error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Users - api - able to create a user without the required name field
1 participant