Browse Source

Add "check_id" in Spike payload.

pull/405/head
Pēteris Caune 4 years ago
parent
commit
ec5ee03a3e
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      hc/api/transports.py

+ 1
- 0
CHANGELOG.md View File

@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- In the cron expression dialog, show a human-friendly version of the expression - In the cron expression dialog, show a human-friendly version of the expression
- Indicate a started check with a progress spinner under status icon (#338) - Indicate a started check with a progress spinner under status icon (#338)
- Added "Docs > Reliability Tips" page - Added "Docs > Reliability Tips" page
- Spike.sh integration (#402)
### Bug Fixes ### Bug Fixes
- Removing Pager Team integration, project appears to be discontinued - Removing Pager Team integration, project appears to be discontinued


+ 1
- 0
hc/api/transports.py View File

@ -584,6 +584,7 @@ class Spike(HttpTransport):
url = self.channel.value url = self.channel.value
headers = {"Conent-Type": "application/json"} headers = {"Conent-Type": "application/json"}
payload = { payload = {
"check_id": str(check.code),
"title": tmpl("spike_title.html", check=check), "title": tmpl("spike_title.html", check=check),
"message": tmpl("spike_description.html", check=check), "message": tmpl("spike_description.html", check=check),
"status": check.status, "status": check.status,


Loading…
Cancel
Save