From f93ed6a1b914a7dea91784f8fc4a8c5226e02e6e Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 25 Oct 2021 16:48:35 -0400 Subject: [PATCH] update key --- modules/notifiarr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notifiarr.py b/modules/notifiarr.py index d729aa3c..51a54914 100644 --- a/modules/notifiarr.py +++ b/modules/notifiarr.py @@ -42,7 +42,7 @@ class NotifiarrBase: class NotifiarrFactory(NotifiarrBase): def __init__(self, config, params): super().__init__(config, params["apikey"], params["develop"], params["test"], params["error_notification"]) - if not params["test"] and not self._request("user/validate/")["message"]["response"]: + if not params["test"] and not self._request("user/validate/")["details"]["response"]: raise Failed("Notifiarr Error: Invalid apikey") def getNotifiarr(self, library):