Update 'api/blueprints/common/otp/timed_otp.py'

This commit is contained in:
Bhushan Thakkar
2025-03-24 09:31:11 +00:00
parent e6cb3f2e24
commit d77cadd097
+2 -1
View File
@@ -360,7 +360,8 @@ async def verify_otp(
if phone_no.startswith("0"): phone_no = phone_no[1:] if phone_no.startswith("0"): phone_no = phone_no[1:]
phone_no = "+254" + phone_no phone_no = "+254" + phone_no
# if client id is not none then hit update the client add with notes else - add client with notes # if client id is not none then hit update the client add with notes else - add client with notes
# 24/03/2025 -client_id = inbound_data.id.get("idClient") # 24/03/2025 -
client_id = inbound_data.id.get("idClient")
if client_id is not None: # hit Omkar's API: if client_id is not None: # hit Omkar's API:
api_response = await current_app.http_client.post( api_response = await current_app.http_client.post(
url="https://api.thecaoffice.com/client/update/with/notes", url="https://api.thecaoffice.com/client/update/with/notes",