Fix: All scrobbles were applied to the Last.fm account associated with user ID 1 (#434)

This commit is contained in:
Tikhon Petrishchev
2026-01-18 09:34:57 +03:00
committed by GitHub
parent 7eb5c6bbc6
commit ea76cf5dc2
4 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -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: