Skip to content

Commit

Permalink
Fix formatting for USSD responses
Browse files Browse the repository at this point in the history
  • Loading branch information
PSNAppz committed Sep 18, 2024
1 parent 906f353 commit e9e1ccc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ async def ussd(
response: str = ""
_logger.info(f"Your input is {text}")
if text == "":
response = "CON Welcome to Example Bank. What do you want to do? \n"
response = "CON Welcome to Example Bank. What do you want to do? \n \n"
response += "1. Get account balance \n"
response += "2. Initiate transfer"
response += "2. Initiate transfer \n"
response += "3. Request account statement"
elif text == "1":
response = await self.get_account_balance(phoneNumber)
Expand Down

0 comments on commit e9e1ccc

Please sign in to comment.