Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
JuniorJPDJ
funkwhale
Commits
28a09133
Verified
Commit
28a09133
authored
Oct 03, 2019
by
Eliot Berriot
Browse files
Fix #624: enforce consistentcy in getUser and getMusicFolders endpoint in Subsonic
parent
6628b6d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/subsonic/serializers.py
View file @
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 https://dev.funkwhale.audio/funkwhale/funkwhale/issues/624
{
"id"
:
1
,
"name"
:
"Music"
}
]
def
get_user_detail_data
(
user
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment