Update 'api/blueprints/common/otp/timed_otp.py'
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user