diff --git a/api_v2/blueprints/otp/blueprint.py b/api_v2/blueprints/otp/blueprint.py index b909523..fb80dca 100644 --- a/api_v2/blueprints/otp/blueprint.py +++ b/api_v2/blueprints/otp/blueprint.py @@ -272,7 +272,7 @@ async def verify_otp( "isValid": is_valid, "attemptsLeft": attempts_left }, - http_code = HttpCodes.UNAUTHORIZED + http_code = HttpCodes.SUCCESS if is_valid else HttpCodes.UNAUTHORIZED )