mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Call correct API endpoint when adding users to session
This commit is contained in:
parent
dfcfacb268
commit
62089174ce
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ class API(object):
|
|||
return self.sessions("/Capabilities/Full", "POST", json=data)
|
||||
|
||||
def session_add_user(self, session_id, user_id, option=True):
|
||||
return self.sessions("/%s/Users/%s" % (session_id, user_id), "POST" if option else "DELETE")
|
||||
return self.sessions("/%s/User/%s" % (session_id, user_id), "POST" if option else "DELETE")
|
||||
|
||||
def session_playing(self, data):
|
||||
return self.sessions("/Playing", "POST", json=data)
|
||||
|
|
Loading…
Reference in a new issue