fix websocket messages

This commit is contained in:
ThomasV 2019-09-05 11:45:28 +02:00
parent 94e7e94e2f
commit 9d595f1fe1
2 changed files with 3 additions and 3 deletions

View file

@ -241,11 +241,11 @@ class HttpServer(Logger):
await ws.close()
return ws
if info.get('status') == PR_PAID:
await ws.send_str(f'already paid')
await ws.send_str(f'paid')
await ws.close()
return ws
if info.get('status') == PR_EXPIRED:
await ws.send_str(f'invoice expired')
await ws.send_str(f'expired')
await ws.close()
return ws
while True:

@ -1 +1 @@
Subproject commit b777d98ce1f374d4136d1481a89b198f9813aa90
Subproject commit 7d902a422a1035258b5b0ad2ce5a655c4a49cf90