Skip to content
Snippets Groups Projects
Verified Commit 28a09133 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #624: enforce consistentcy in getUser and getMusicFolders endpoint in Subsonic

parent 6628b6d0
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,11 @@ def get_music_directory_data(artist):
def get_folders(user):
return []
return [
# Dummy folder ID to match what is returned in the getMusicFolders endpoint
# cf https://dev.funkwhale.audio/funkwhale/funkwhale/issues/624
{"id": 1, "name": "Music"}
]
def get_user_detail_data(user):
......
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