From d77cadd097952275a23dba6869b84e46dae9580c Mon Sep 17 00:00:00 2001 From: Bhushan Thakkar Date: Mon, 24 Mar 2025 09:31:11 +0000 Subject: [PATCH] Update 'api/blueprints/common/otp/timed_otp.py' --- api/blueprints/common/otp/timed_otp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/blueprints/common/otp/timed_otp.py b/api/blueprints/common/otp/timed_otp.py index 0b38a8d..b75fcd4 100644 --- a/api/blueprints/common/otp/timed_otp.py +++ b/api/blueprints/common/otp/timed_otp.py @@ -360,7 +360,8 @@ async def verify_otp( if phone_no.startswith("0"): phone_no = phone_no[1:] phone_no = "+254" + phone_no # 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: api_response = await current_app.http_client.post( url="https://api.thecaoffice.com/client/update/with/notes",