hide notifiarr apikey

This commit is contained in:
meisnate12 2021-10-28 02:07:14 -04:00
parent d8d20b07a5
commit cc8f925afc

View file

@ -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: