(20250303) Removed print stmt.

This commit is contained in:
2025-03-03 15:37:28 +05:30
parent 815c02dc83
commit 669232ee62
2 changed files with 0 additions and 6 deletions
-4
View File
@@ -360,7 +360,6 @@ async def verify_otp(
if phone_no.startswith("254"): phone_no = phone_no[3:]
if phone_no.startswith("0"): phone_no = phone_no[1:]
phone_no = "+254" + phone_no
print("CLEANED PHONE NO.:", phone_no)
# hit Omkar's API:
api_response = await current_app.http_client.post(
@@ -391,12 +390,9 @@ async def verify_otp(
# Done here:
success = api_response.is_success
print("ADD CLIENT WITH NOTES CODE:", api_response.status_code)
print("ADD CLIENT WITH NOTES JSON:", api_response.json())
return ResponseModel(
status_code = StatusCodes.OK if success else StatusCodes.FAILED,
http_code = HttpCodes.SUCCESS if success else HttpCodes.UNAUTHORIZED,
message = api_response.json().get("message", "N/A")
)