Spaces:
Build error
Build error
Commit ·
af9e59f
1
Parent(s): 4822ca1
Fixes
Browse files
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
|