DevangMahesh commited on
Commit
af9e59f
·
1 Parent(s): 4822ca1
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -18,7 +18,6 @@ async def verify_webhook(request: Request):
18
  """
19
  Endpoint for WhatsApp to verify the webhook during setup.
20
  """
21
- return JSONResponse(content=params.get("hub.challenge"), status_code=200)
22
  params = request.query_params
23
  if (
24
  params.get("hub.mode") == "subscribe" and
 
18
  """
19
  Endpoint for WhatsApp to verify the webhook during setup.
20
  """
 
21
  params = request.query_params
22
  if (
23
  params.get("hub.mode") == "subscribe" and