mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
formatters: also get headers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Formatters for matrix webhook."""
|
||||
|
||||
|
||||
def grafana(data):
|
||||
def grafana(data, headers):
|
||||
"""Pretty-print a grafana notification."""
|
||||
text = ""
|
||||
if "title" in data:
|
||||
|
||||
Reference in New Issue
Block a user