mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-25 05:27:33 +08:00
update notifiarr test endpoints
This commit is contained in:
parent
4f56e56336
commit
d8ab1f25c4
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue