formatters: also get headers

This commit is contained in:
Guilhem Saurel
2021-08-27 20:05:08 +02:00
parent ac7d1d9647
commit 4bcdb25c80
3 changed files with 10 additions and 4 deletions

View File

@@ -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: