mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 12:32:34 +02:00
more tests
This commit is contained in:
@@ -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])
|
||||||
|
Reference in New Issue
Block a user