(20250303) Phone no. adjusted for client add with notes.
This commit is contained in:
@@ -357,8 +357,9 @@ async def verify_otp(
|
||||
pattern = r"[^\d]",
|
||||
substitute_text = ""
|
||||
)
|
||||
if not phone_no.startswith("254"): phone_no = "254" + phone_no
|
||||
phone_no = "+" + phone_no
|
||||
if phone_no.startswith("254"): phone_no = phone_no[3:]
|
||||
if phone_no.startswith("0"): phone_no = phone_no[1:]
|
||||
phone_no = "+254" + phone_no
|
||||
print("CLEANED PHONE NO.:", phone_no)
|
||||
|
||||
# hit Omkar's API:
|
||||
|
||||
Reference in New Issue
Block a user