Add "check_id" in Spike payload.

This commit is contained in:
Pēteris Caune 2020-07-15 17:56:18 +03:00
parent f789cad2af
commit ec5ee03a3e
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 0 deletions

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
- Indicate a started check with a progress spinner under status icon (#338)
- Added "Docs > Reliability Tips" page
- Spike.sh integration (#402)
### Bug Fixes
- Removing Pager Team integration, project appears to be discontinued

View File

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