more tests
This commit is contained in:
parent
74eb91d63f
commit
f8745cadf0
2 changed files with 1 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ async def lnurl_callback(cp_id):
|
||||||
success_action=None,
|
success_action=None,
|
||||||
routes=[],
|
routes=[],
|
||||||
)
|
)
|
||||||
print(cp_id)
|
print(payment_request)
|
||||||
print(jsonify(resp.dict()))
|
print(jsonify(resp.dict()))
|
||||||
|
|
||||||
return jsonify(resp.dict())
|
return jsonify(resp.dict())
|
||||||
|
|
@ -24,7 +24,6 @@ async def ws_panel(copilot_id):
|
||||||
@copilot_ext.websocket('/ws/compose/<copilot_id>')
|
@copilot_ext.websocket('/ws/compose/<copilot_id>')
|
||||||
async def ws_compose(copilot_id):
|
async def ws_compose(copilot_id):
|
||||||
global connected_websockets
|
global connected_websockets
|
||||||
print(copilot_id)
|
|
||||||
while True:
|
while True:
|
||||||
data = await websocket.receive()
|
data = await websocket.receive()
|
||||||
await websocket.send(connected_websockets[copilot_id])
|
await websocket.send(connected_websockets[copilot_id])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue