This commit is contained in:
parent
dddd7392b2
commit
2ce4911ff5
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ async def handle_alert(request):
|
|||
body = await request.json()
|
||||
title = body['title']
|
||||
status = body['status']
|
||||
print(body)
|
||||
await send_message(f'[{status}] {title}')
|
||||
return web.Response(text='Ok')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue