Commit 6e64938e authored by echel0n's avatar echel0n
Browse files

fixed legacy API v1 to allow `tvdbid` query param override `series_id` query param requirement

parent d38390c7
...@@ -318,6 +318,9 @@ class ApiV1Handler(ApiV1BaseHandler): ...@@ -318,6 +318,9 @@ class ApiV1Handler(ApiV1BaseHandler):
and to detect missing/required params and to detect missing/required params
""" """
if key == "series_id" and "tvdbid" in kwargs:
key = "tvdbid"
if key: if key:
missing = True missing = True
org_default = default org_default = default
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment