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