feat(api): get live sessions directly from socketIO
This commit is contained in:
parent
3a08033f16
commit
124f134a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def get_live_sessions_ws(project_id):
|
|||
print(connected_peers.text)
|
||||
return []
|
||||
live_peers = connected_peers.json().get("data", [])
|
||||
return {"data": live_peers}
|
||||
return live_peers
|
||||
|
||||
|
||||
def is_live(project_id, session_id, project_key=None):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue