fix websocket messages
This commit is contained in:
@@ -241,11 +241,11 @@ class HttpServer(Logger):
|
|||||||
await ws.close()
|
await ws.close()
|
||||||
return ws
|
return ws
|
||||||
if info.get('status') == PR_PAID:
|
if info.get('status') == PR_PAID:
|
||||||
await ws.send_str(f'already paid')
|
await ws.send_str(f'paid')
|
||||||
await ws.close()
|
await ws.close()
|
||||||
return ws
|
return ws
|
||||||
if info.get('status') == PR_EXPIRED:
|
if info.get('status') == PR_EXPIRED:
|
||||||
await ws.send_str(f'invoice expired')
|
await ws.send_str(f'expired')
|
||||||
await ws.close()
|
await ws.close()
|
||||||
return ws
|
return ws
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Submodule electrum/www updated: b777d98ce1...7d902a422a
Reference in New Issue
Block a user