mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Add missing underscore to http var
This commit is contained in:
parent
d3c6d9158a
commit
6425a6539f
1 changed files with 2 additions and 2 deletions
|
@ -51,11 +51,11 @@ def _http(action, url, request={}, server_id=None):
|
||||||
|
|
||||||
|
|
||||||
def _get(handler, params=None, server_id=None):
|
def _get(handler, params=None, server_id=None):
|
||||||
return http("GET", get_jellyfinserver_url(handler), {'params': params}, server_id)
|
return _http("GET", get_jellyfinserver_url(handler), {'params': params}, server_id)
|
||||||
|
|
||||||
|
|
||||||
def _post(handler, json=None, params=None, server_id=None):
|
def _post(handler, json=None, params=None, server_id=None):
|
||||||
return http("POST", get_jellyfinserver_url(handler), {'params': params, 'json': json}, server_id)
|
return _http("POST", get_jellyfinserver_url(handler), {'params': params, 'json': json}, server_id)
|
||||||
|
|
||||||
|
|
||||||
def _delete(handler, params=None, server_id=None):
|
def _delete(handler, params=None, server_id=None):
|
||||||
|
|
Loading…
Reference in a new issue