From 49fc597efb208f4ed6ca270bcb1696358fc45818 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 23 Oct 2022 10:56:26 -0400 Subject: [PATCH] Fixed blacklist item removal issue. --- bazarr/api/episodes/blacklist.py | 2 +- bazarr/api/movies/blacklist.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr/api/episodes/blacklist.py b/bazarr/api/episodes/blacklist.py index efb277f83..3e8115b0c 100644 --- a/bazarr/api/episodes/blacklist.py +++ b/bazarr/api/episodes/blacklist.py @@ -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: diff --git a/bazarr/api/movies/blacklist.py b/bazarr/api/movies/blacklist.py index 1b8548442..8e70006fd 100644 --- a/bazarr/api/movies/blacklist.py +++ b/bazarr/api/movies/blacklist.py @@ -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: