Arafath10 commited on
Commit
6c7df80
·
verified ·
1 Parent(s): 1b846eb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -30,6 +30,6 @@ async def reply_whatsapp(request: Request):
30
  msg = response.message(f"Hi, your number is {from_number} and you said {message_body}")
31
  msg.media(GOOD_BOY_URL)
32
 
33
- return PlainTextResponse(str(response))
34
 
35
  # Run the application (Make sure you have the necessary setup to run FastAPI)
 
30
  msg = response.message(f"Hi, your number is {from_number} and you said {message_body}")
31
  msg.media(GOOD_BOY_URL)
32
 
33
+ return PlainTextResponse(str(response), media_type="application/xml")
34
 
35
  # Run the application (Make sure you have the necessary setup to run FastAPI)