Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,7 @@ async def update_streams(request: Request):
|
|
69 |
print(payload)
|
70 |
print("============= payload =============")
|
71 |
|
|
|
72 |
# Check if the payload structure matches the expected format
|
73 |
if "event" in payload and "data" in payload["event"]:
|
74 |
event_data = payload["event"]["data"]
|
|
|
69 |
print(payload)
|
70 |
print("============= payload =============")
|
71 |
|
72 |
+
payload = payload["payload"]
|
73 |
# Check if the payload structure matches the expected format
|
74 |
if "event" in payload and "data" in payload["event"]:
|
75 |
event_data = payload["event"]["data"]
|