Skip to content

Commit

Permalink
proper fix for the previous
Browse files Browse the repository at this point in the history
  • Loading branch information
ToucheSir committed Apr 22, 2021
1 parent 3bd76b7 commit 38064b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def add_user(
encrypted = bcrypt.hash(password)
await db.add_user(
Annotator(
id=ObjectId(),
_id=ObjectId(),
name=name,
username=username,
designation=designation,
Expand Down

0 comments on commit 38064b3

Please sign in to comment.