Skip to content

Commit

Permalink
Merge pull request #31 from flavien-hugs/develop
Browse files Browse the repository at this point in the history
Fix bug
  • Loading branch information
flavien-hugs authored Aug 16, 2024
2 parents 569706f + a5086d8 commit b9b2292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
template_env = Environment(loader=template_loader, autoescape=select_autoescape(["html", "txt"]))


async def login(background: BackgroundTasks, payload: LoginUser) -> JSONResponse:
async def login(payload: LoginUser) -> JSONResponse:
if (user := await User.find_one({"email": payload.email.lower()})) is None:
raise CustomHTTException(
code_error=UserErrorCode.USER_NOT_FOUND,
Expand Down

0 comments on commit b9b2292

Please sign in to comment.