Spaces:
Running
on
Zero
Running
on
Zero
ds
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -79,7 +79,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
79 |
body = await request.body()
|
80 |
received_headers = dict(request.headers)
|
81 |
body_str = body.decode("utf-8")
|
82 |
-
|
83 |
body_json = json.loads(body_str)
|
84 |
events = body_json.get("events", [])
|
85 |
|
|
|
79 |
body = await request.body()
|
80 |
received_headers = dict(request.headers)
|
81 |
body_str = body.decode("utf-8")
|
82 |
+
logger.info("Received Body: %s", body_str)
|
83 |
body_json = json.loads(body_str)
|
84 |
events = body_json.get("events", [])
|
85 |
|