williamagyapong commited on
Commit
e17537c
·
verified ·
1 Parent(s): 33494c2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -119,7 +119,7 @@ def process_user_msg(message, mobile):
119
  else:
120
  # Persist transaction data temporarily for Create, Update, or Delete operations
121
  persist_temporary_transaction(parsed_trans_data, mobile)
122
- # messenger.send_message(f"{response} \n\n {parsed_trans_data}", mobile)
123
  # Give user the chance to confirm/cancel transaction before processing other intents
124
  messenger_reply_button(mobile, f"Raw Response: {response}, \n \n Parsed Response: {parsed_trans_data}")
125
 
 
119
  else:
120
  # Persist transaction data temporarily for Create, Update, or Delete operations
121
  persist_temporary_transaction(parsed_trans_data, mobile)
122
+ messenger.send_message(f"{response} \n\n {parsed_trans_data}", mobile)
123
  # Give user the chance to confirm/cancel transaction before processing other intents
124
  messenger_reply_button(mobile, f"Raw Response: {response}, \n \n Parsed Response: {parsed_trans_data}")
125