Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
6e64938e
Commit
6e64938e
authored
May 07, 2022
by
echel0n
Browse files
fixed legacy API v1 to allow `tvdbid` query param override `series_id` query param requirement
parent
d38390c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
sickrage/core/webserver/handlers/api/v1/__init__.py
View file @
6e64938e
...
...
@@ -318,6 +318,9 @@ class ApiV1Handler(ApiV1BaseHandler):
and to detect missing/required params
"""
if
key
==
"series_id"
and
"tvdbid"
in
kwargs
:
key
=
"tvdbid"
if
key
:
missing
=
True
org_default
=
default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment