feat: add generic formatter that will just return json sent
This commit is contained in:
parent
93f84859b4
commit
e0a407acd9
1 changed files with 4 additions and 0 deletions
4
matrix_webhook/formatters/generic.py
Normal file
4
matrix_webhook/formatters/generic.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
def formatter(data, headers):
|
||||||
|
"""Just dump the json data"""
|
||||||
|
data["body"] = f"{data}"
|
||||||
|
return data
|
Loading…
Reference in a new issue