(20250619) Small bug fixed in the response code of the OTP verification API.
This commit is contained in:
@@ -272,7 +272,7 @@ async def verify_otp(
|
|||||||
"isValid": is_valid,
|
"isValid": is_valid,
|
||||||
"attemptsLeft": attempts_left
|
"attemptsLeft": attempts_left
|
||||||
},
|
},
|
||||||
http_code = HttpCodes.UNAUTHORIZED
|
http_code = HttpCodes.SUCCESS if is_valid else HttpCodes.UNAUTHORIZED
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user