matrix-webhook/matrix_webhook/formatters/generic.py

5 lines
109 B
Python
Raw Permalink Normal View History

def formatter(data, headers):
"""Just dump the json data"""
data["body"] = f"{data}"
return data