1 parent
7c19ff9096
commit
5b82a24ac4
9 files changed
+299
-72
No files matched your search
@@ -158,7 +158,9 @@ def manifest():
|
||||
@handle_errors
|
||||
def api_state():
|
||||
data = controller.state()
|
||||
_mark_spotify_accounts(data["rooms"])
|
||||
# Demo rooms are not on anyone's real Spotify, so they bring their own account.
|
||||
if not data.get("demo"):
|
||||
_mark_spotify_accounts(data["rooms"])
|
||||
return jsonify(data)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user