mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 18:24:21 +02:00
Fix #624: enforce consistentcy in getUser and getMusicFolders endpoint in Subsonic
This commit is contained in:
parent
6628b6d058
commit
28a091335c
1 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue