Skip to content

Commit

Permalink
feat: fix response in gen_2fa_code function
Browse files Browse the repository at this point in the history
  • Loading branch information
TanookiVerde committed Dec 9, 2024
1 parent 0d6aaaa commit cc1e3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/auth/routers/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def gen_2fa_code(
LoginStatusEnum.SUCCESS,
LoginStatusEnum.REQUIRE_2FA
]:
raise JSONResponse(
return JSONResponse(
status_code=401,
content={
"message": "Something went wrong",
Expand Down

0 comments on commit cc1e3a4

Please sign in to comment.