hide notifiarr apikey

pull/420/head
meisnate12 3 years ago
parent d8d20b07a5
commit cc8f925afc

@ -18,7 +18,7 @@ class NotifiarrBase:
def _request(self, path, json=None, params=None):
url = f"{dev_url if self.develop else base_url}" + \
("notification/test" if self.test else f"{path}{self.apikey}")
logger.debug(url)
logger.debug(url.replace(self.apikey, "APIKEY"))
response = self.config.get(url, json=json, params={"event": "pmm"} if self.test else params)
response_json = response.json()
if self.develop or self.test:

Loading…
Cancel
Save