(20250227) disabled print statements

This commit is contained in:
2025-02-27 11:58:38 +05:30
parent a9c1b8911f
commit ae0dbbb0ef
-7
View File
@@ -299,8 +299,6 @@ async def verify_otp(
:return: A standard response structure. :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 if not phone_no.startswith("254"): phone_no = "254" + phone_no
phone_no = "+" + phone_no phone_no = "+" + phone_no
print("CLEANED PHONE NO:", phone_no)
# hit Omkar's API: # hit Omkar's API:
api_response = await current_app.http_client.post( api_response = await current_app.http_client.post(
@@ -376,10 +373,6 @@ async def verify_otp(
"amount": None "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))
# ┳┓ # ┳┓
# ┣┫┏┓┏┏┓┏┓┏┓┏┏┓ # ┣┫┏┓┏┏┓┏┓┏┓┏┏┓