kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch 'fix_getuser_serializer' into 'develop'
change struct to reflect subsonic api specs See merge request funkwhale/funkwhale!1282environments/review-docs-trace-4s67rt/deployments/6715
commit
461c55e08c
|
@ -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)
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
issue="1374"
|
||||
content="Fixed a small discrepancy to the subsonic api"
|
||||
category="bugfix"
|
Ładowanie…
Reference in New Issue