fix: Remove invalid webhook_secret parameter from SonarrClient
Local Docker Build (Dev) / build-dev (push) Successful in 23s
Local Docker Build (Dev) / build-dev (push) Successful in 23s
SonarrClient constructor only accepts base_url and api_key parameters. Version bump to 2.0.2-clean
This commit is contained in:
+1
-3
@@ -1730,9 +1730,7 @@ path_mapper = PathMapper(config) # FIXED: Pass config to PathMapper
|
|||||||
# Initialize Sonarr client using environment variables
|
# Initialize Sonarr client using environment variables
|
||||||
sonarr = SonarrClient(
|
sonarr = SonarrClient(
|
||||||
base_url=os.environ.get("SONARR_URL", ""),
|
base_url=os.environ.get("SONARR_URL", ""),
|
||||||
api_key=os.environ.get("SONARR_API_KEY", ""),
|
api_key=os.environ.get("SONARR_API_KEY", "")
|
||||||
webhook_secret=os.environ.get("SONARR_WEBHOOK_SECRET", ""),
|
|
||||||
enabled=bool(os.environ.get("SONARR_URL", ""))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Use new clean TV processor
|
# Use new clean TV processor
|
||||||
|
|||||||
Reference in New Issue
Block a user