serJD commited on
Commit
9369f19
1 Parent(s): 5093424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"]