mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-15 03:07:53 +08:00
Fixed blacklist item removal issue.
This commit is contained in:
parent
d7c8188f94
commit
49fc597efb
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class EpisodesBlacklist(Resource):
|
|||
@api_ns_episodes_blacklist.response(401, 'Not Authenticated')
|
||||
def delete(self):
|
||||
"""Delete an episodes subtitles from blacklist"""
|
||||
args = self.post_request_parser.parse_args()
|
||||
args = self.delete_request_parser.parse_args()
|
||||
if args.get("all") == "true":
|
||||
blacklist_delete_all()
|
||||
else:
|
||||
|
|
|
@ -126,7 +126,7 @@ class MoviesBlacklist(Resource):
|
|||
@api_ns_movies_blacklist.response(401, 'Not Authenticated')
|
||||
def delete(self):
|
||||
"""Delete a movies subtitles from blacklist"""
|
||||
args = self.post_request_parser.parse_args()
|
||||
args = self.delete_request_parser.parse_args()
|
||||
if args.get("all") == "true":
|
||||
blacklist_delete_all_movie()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue