Neurolingua commited on
Commit
f586e58
·
verified ·
1 Parent(s): 052e52f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ from_whatsapp_number = 'whatsapp:+14155238886'
17
 
18
  # Route to handle incoming WhatsApp messages
19
  @app.route('/whatsapp', methods=['POST'])
20
- def whatsapp_reply():
21
  incoming_msg = request.values.get('Body', '').lower()
22
  sender = request.values.get('From')
23
 
 
17
 
18
  # Route to handle incoming WhatsApp messages
19
  @app.route('/whatsapp', methods=['POST'])
20
+ def whatsapp_webhook():
21
  incoming_msg = request.values.get('Body', '').lower()
22
  sender = request.values.get('From')
23