Skip to content
Snippets Groups Projects
Commit 461c55e0 authored by Georg Krause's avatar Georg Krause
Browse files

Merge branch 'fix_getuser_serializer' into 'develop'

change struct to reflect subsonic api specs

See merge request funkwhale/funkwhale!1282
parents 38f0fd3b 7bcb8d8c
No related branches found
No related tags found
No related merge requests found
Pipeline #13856 passed with stages
in 7 minutes and 37 seconds
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment