diff --git a/app/config.py b/app/config.py index 5b84c77..75fba35 100644 --- a/app/config.py +++ b/app/config.py @@ -80,7 +80,7 @@ def validate_sonarr_and_radarr(self): def test_api_connection(self, connection): try: response = requests.get( - f"{connection['url']}/system/status", + f"{connection['url']}/api", params={"apiKey": connection["api_key"]}, headers={"Content-Type": "application/json"}, ) @@ -170,4 +170,4 @@ def validate_libraries(self): f"Invalid sort order '{sort_order}' in library '{library['name']}', supported values are {VALID_SORT_ORDERS}." ) - return True \ No newline at end of file + return True