Skip to content
Snippets Groups Projects
Commit 1c042b42 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '624-music-folders' into 'develop'

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

Closes #624

See merge request funkwhale/funkwhale!917
parents 6628b6d0 28a09133
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