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

environments/review-front-594-ofn00k/deployments/2884
Eliot Berriot 2019-10-03 11:38:56 +02:00
rodzic 6628b6d058
commit 28a091335c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
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):