From d8ab1f25c4bf68bb1c5c22979bca469da46c1876 Mon Sep 17 00:00:00 2001 From: bobokun Date: Fri, 17 Dec 2021 20:00:09 -0500 Subject: [PATCH] update notifiarr test endpoints --- modules/notifiarr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/notifiarr.py b/modules/notifiarr.py index 2b708c5..d67a081 100644 --- a/modules/notifiarr.py +++ b/modules/notifiarr.py @@ -27,5 +27,6 @@ class Notifiarr: url = f"{dev_url if self.develop else base_url}{'notification/test' if self.test else f'{path}{self.apikey}'}" if self.config.trace_mode: logger.debug(url.replace(self.apikey, "APIKEY")) - params = {"event": "qbtManage" if self.test else "notify"} + test_payload = (f"qbitManage-{self.apikey[:5]}") + params = {"event": test_payload, "qbit_client":self.config.data["qbt"]["host"] if self.test else "notify"} return url, params \ No newline at end of file