some tests for my lnurl

This commit is contained in:
Ben Arc
2021-04-16 12:05:07 +01:00
parent cd3c6394f2
commit 74eb91d63f
2 changed files with 2 additions and 0 deletions

View File

@@ -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())

View File

@@ -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])