Skip to content

Commit

Permalink
fix validation error in user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ToucheSir authored Apr 22, 2021
1 parent c75b3a4 commit 3bd76b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ async def add_user(
encrypted = bcrypt.hash(password)
await db.add_user(
Annotator(
id=ObjectId(),
name=name,
username=username,
designation=designation,
Expand Down

0 comments on commit 3bd76b7

Please sign in to comment.