Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ async def handle_webhook(
|
|
25 |
@app.post("/webhooks")
|
26 |
async def handle_event_notifications(
|
27 |
request: Request,
|
28 |
-
|
29 |
):
|
30 |
# # Read and verify the request body
|
31 |
# body = await request.body()
|
|
|
25 |
@app.post("/webhooks")
|
26 |
async def handle_event_notifications(
|
27 |
request: Request,
|
28 |
+
x_hub_signature_256: Optional[str] = Header(None) # Header for signature verification
|
29 |
):
|
30 |
# # Read and verify the request body
|
31 |
# body = await request.body()
|