Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mopidy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
mopidy
Commits
93aa88b5
Unverified
Commit
93aa88b5
authored
3 years ago
by
Alexander Dunkel
Browse files
Options
Downloads
Patches
Plain Diff
fix: APIClient jwt_token error on anonymous connection
See
#21
#note_31358 regression bug introduced in
228535e0
parent
0c6eac69
No related branches found
No related tags found
1 merge request
!16
fix: APIClient jwt_token error on anonymous connection
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mopidy_funkwhale/actor.py
+0
-3
0 additions, 3 deletions
mopidy_funkwhale/actor.py
with
0 additions
and
3 deletions
mopidy_funkwhale/actor.py
+
0
−
3
View file @
93aa88b5
...
@@ -43,7 +43,4 @@ class FunkwhalePlaybackProvider(backend.PlaybackProvider):
...
@@ -43,7 +43,4 @@ class FunkwhalePlaybackProvider(backend.PlaybackProvider):
url
=
self
.
backend
.
config
[
"
funkwhale
"
][
"
url
"
]
+
url
url
=
self
.
backend
.
config
[
"
funkwhale
"
][
"
url
"
]
+
url
if
self
.
backend
.
client
.
use_oauth
:
if
self
.
backend
.
client
.
use_oauth
:
url
+=
"
?token=
"
+
self
.
backend
.
client
.
oauth_token
[
"
access_token
"
]
url
+=
"
?token=
"
+
self
.
backend
.
client
.
oauth_token
[
"
access_token
"
]
elif
self
.
backend
.
client
.
jwt_token
:
url
+=
"
?jwt=
"
+
self
.
backend
.
client
.
jwt_token
return
url
return
url
This diff is collapsed.
Click to expand it.
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