Explorar el Código

Add Grafana module

master
JustAnotherArchivist hace 4 años
padre
commit
ced83b2fd4
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      contrib/modules/grafana.py

+ 6
- 0
contrib/modules/grafana.py Ver fichero

@@ -0,0 +1,6 @@
import json


async def process(request):
obj = json.loads(await request.text())
return f'{obj["title"]} - {obj["message"]}'

Cargando…
Cancelar
Guardar