Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
490
Issue boards
Milestones
Wiki
Code
Merge requests
18
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
funkwhale
Commits
0ecdd7c0
Verified
Commit
0ecdd7c0
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fixed broken getUser subsonic endpoint
parent
d1b1f116
No related branches found
No related tags found
1 merge request
!943
Subsonic compat
Pipeline
#6848
passed with stages
in 3 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/funkwhale_api/subsonic/serializers.py
+1
-1
1 addition, 1 deletion
api/funkwhale_api/subsonic/serializers.py
api/tests/subsonic/test_views.py
+2
-1
2 additions, 1 deletion
api/tests/subsonic/test_views.py
with
3 additions
and
2 deletions
api/funkwhale_api/subsonic/serializers.py
+
1
−
1
View file @
0ecdd7c0
...
...
@@ -295,7 +295,7 @@ def get_user_detail_data(user):
"
playlistRole
"
:
"
true
"
,
"
streamRole
"
:
"
true
"
,
"
jukeboxRole
"
:
"
true
"
,
"
folder
"
:
[
f
[
"
id
"
]
for
f
in
get_folders
(
user
)],
"
folder
"
:
[
{
"
value
"
:
f
[
"
id
"
]
}
for
f
in
get_folders
(
user
)],
}
...
...
This diff is collapsed.
Click to expand it.
api/tests/subsonic/test_views.py
+
2
−
1
View file @
0ecdd7c0
...
...
@@ -762,7 +762,8 @@ def test_get_user(f, db, logged_in_api_client, factories):
"
coverArtRole
"
:
"
false
"
,
"
shareRole
"
:
"
false
"
,
"
folder
"
:
[
f
[
"
id
"
]
for
f
in
serializers
.
get_folders
(
logged_in_api_client
.
user
)
{
"
value
"
:
f
[
"
id
"
]}
for
f
in
serializers
.
get_folders
(
logged_in_api_client
.
user
)
],
}
}
This diff is collapsed.
Click to expand it.
Georg Krause
@georgkrause
mentioned in merge request
!1282 (merged)
·
4 years ago
mentioned in merge request
!1282 (merged)
mentioned in merge request !1282
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment