Commit 7bcb8d8c authored by Fanyx's avatar Fanyx Committed by Georg Krause
Browse files

change struct to reflect subsonic api specs, fixes #1374

parent 38f0fd3b
......@@ -264,7 +264,7 @@ def get_user_detail_data(user):
"playlistRole": "true",
"streamRole": "true",
"jukeboxRole": "true",
"folder": [{"value": f["id"]} for f in get_folders(user)],
"folder": [f["id"] for f in get_folders(user)],
}
......
......@@ -810,8 +810,7 @@ def test_get_user(f, db, logged_in_api_client, factories):
"coverArtRole": "false",
"shareRole": "false",
"folder": [
{"value": f["id"]}
for f in serializers.get_folders(logged_in_api_client.user)
f["id"] for f in serializers.get_folders(logged_in_api_client.user)
],
}
}
......
issue="1374"
content="Fixed a small discrepancy to the subsonic api"
category="bugfix"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment