@@ -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