Websocket/listener working

This commit is contained in:
ben
2022-10-07 13:46:40 +01:00
parent 52dc528a8a
commit 8d4337679f
5 changed files with 30 additions and 22 deletions
+4 -2
View File
@@ -22,9 +22,10 @@ async def create_lnurldevice(
wallet,
currency,
device,
profit
profit,
amount
)
VALUES (?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?)
""",
(
lnurldevice_id,
@@ -34,6 +35,7 @@ async def create_lnurldevice(
data.currency,
data.device,
data.profit,
data.amount,
),
)
return await get_lnurldevice(lnurldevice_id)