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 conflict in user #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quirrelHK
Copy link

Fixed a small bug, when creating a user that already exists in the database, we get an internal server error. Made some changes in user.py to raise HTTPExpection status code 409, if the user already exists.

Also added a test in test_users.py for status code if the user already exists.

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.

1 participant