mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
Fix: All scrobbles were applied to the Last.fm account associated with user ID 1 (#434)
This commit is contained in:
committed by
GitHub
parent
7eb5c6bbc6
commit
ea76cf5dc2
@@ -78,7 +78,7 @@ def create_lastfm_session(body: LastFmSessionBody):
|
||||
if not body.token:
|
||||
return {"error": "Missing token"}, 400
|
||||
|
||||
lastfm = LastFmPlugin()
|
||||
lastfm = LastFmPlugin(current_userid=get_current_userid())
|
||||
session_key = lastfm.get_session_key(body.token)
|
||||
|
||||
if session_key:
|
||||
|
||||
Reference in New Issue
Block a user