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
environments/review-front-594-ofn00k/deployments/2884
Eliot Berriot 2019-10-03 11:42:39 +02:00
commit 1c042b42e3
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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):