Skip to content

Commit 48637db

Browse files
authored
update zenduty endpoint (#85)
* update zenduty endpoint * bump version
1 parent 0551946 commit 48637db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ignore_missing_imports = true
44

55
[tool.poetry]
66
name = "pyth-observer"
7-
version = "0.3.3"
7+
version = "0.3.4"
88
description = "Alerts and stuff"
99
authors = []
1010
readme = "README.md"

pyth_observer/zenduty.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
async def send_zenduty_alert(alert_identifier, message, resolved=False, summary=""):
12-
url = f"https://www.zenduty.com/api/events/{os.environ['ZENDUTY_INTEGRATION_KEY']}/"
12+
url = f"https://events.zenduty.com/api/events/{os.environ['ZENDUTY_INTEGRATION_KEY']}/"
1313
# Use a hash of the alert_identifier as a unique id for the alert.
1414
# Take the first 32 characters due to length limit of the api.
1515
entity_id = hashlib.sha256(alert_identifier.encode("utf-8")).hexdigest()[:32]

0 commit comments

Comments
 (0)