mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[24] fix webhooks
This commit is contained in:
parent
1adb074acb
commit
b572af04fe
2 changed files with 33 additions and 32 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.19.0-develop23
|
||||
1.19.0-develop24
|
||||
|
|
|
@ -36,6 +36,7 @@ class Webhooks:
|
|||
elif webhook.startswith("https://hooks.slack.com/services"):
|
||||
json = self.slack(json)
|
||||
response = self.config.post(webhook, json=json)
|
||||
if response is not None:
|
||||
try:
|
||||
response_json = response.json()
|
||||
logger.trace(f"Response: {response_json}")
|
||||
|
|
Loading…
Reference in a new issue