mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Fix loading synced items for guest access
This commit is contained in:
parent
5dc0d5536d
commit
a985cec9c2
1 changed files with 4 additions and 1 deletions
|
@ -2549,7 +2549,10 @@ class WebInterface(object):
|
|||
if user_id == 'null':
|
||||
user_id = None
|
||||
|
||||
plex_tv = plextv.PlexTV()
|
||||
if get_session_user_id():
|
||||
user_id = get_session_user_id()
|
||||
|
||||
plex_tv = plextv.PlexTV(token=plexpy.CONFIG.PMS_TOKEN)
|
||||
result = plex_tv.get_synced_items(machine_id=machine_id, user_id_filter=user_id)
|
||||
|
||||
if result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue