1
0

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: