Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
...@@ -264,7 +264,7 @@ def get_user_detail_data(user): ...@@ -264,7 +264,7 @@ def get_user_detail_data(user):
"playlistRole": "true", "playlistRole": "true",
"streamRole": "true", "streamRole": "true",
"jukeboxRole": "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): ...@@ -810,8 +810,7 @@ def test_get_user(f, db, logged_in_api_client, factories):
"coverArtRole": "false", "coverArtRole": "false",
"shareRole": "false", "shareRole": "false",
"folder": [ "folder": [
{"value": f["id"]} f["id"] for f in serializers.get_folders(logged_in_api_client.user)
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment