From ae0dbbb0ef4fd4fca61c3f167548cb47339c14ac Mon Sep 17 00:00:00 2001 From: khushal Date: Thu, 27 Feb 2025 11:58:38 +0530 Subject: [PATCH] (20250227) disabled print statements --- api/blueprints/common/otp/timed_otp.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api/blueprints/common/otp/timed_otp.py b/api/blueprints/common/otp/timed_otp.py index a45b525..f544e73 100644 --- a/api/blueprints/common/otp/timed_otp.py +++ b/api/blueprints/common/otp/timed_otp.py @@ -299,8 +299,6 @@ async def verify_otp( :return: A standard response structure. """ - print("RAW INPUT:", json.to_string(inbound_data.model_dump(), default=str)) - # ┏┓ ┓ ┏┓┓ ┓ # ┣┫┓┏╋┣┓ ┃ ┣┓┏┓┏┃┏ # ┛┗┗┻┗┛┗ ┗┛┛┗┗ ┗┛┗ @@ -354,7 +352,6 @@ async def verify_otp( ) if not phone_no.startswith("254"): phone_no = "254" + phone_no phone_no = "+" + phone_no - print("CLEANED PHONE NO:", phone_no) # hit Omkar's API: api_response = await current_app.http_client.post( @@ -376,10 +373,6 @@ async def verify_otp( "amount": None } ) - try: api_json = api_response.json() - except: api_json = {} - print(f"ADD CLIENT WITH NOTES ({api_response.status_code}):", api_response.content) - print("ADD CLIENT WITH NOTES:", json.to_string(api_json)) # ┳┓ # ┣┫┏┓┏┏┓┏┓┏┓┏┏┓