mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix websocket messages
This commit is contained in:
parent
94e7e94e2f
commit
9d595f1fe1
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b777d98ce1f374d4136d1481a89b198f9813aa90
|
Subproject commit 7d902a422a1035258b5b0ad2ce5a655c4a49cf90
|
Loading…
Add table
Reference in a new issue