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
......@@ -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
{"id": 1, "name": "Music"}
def get_user_detail_data(user):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment