Should be working

Need to check lnurl logic, and debug
This commit is contained in:
Ben Arc
2021-04-15 09:39:27 +01:00
parent 34d659f9f3
commit 1af84b2b3d
8 changed files with 227 additions and 260 deletions
+5 -2
View File
@@ -15,7 +15,8 @@ from quart import jsonify
async def create_copilot(
title: str,
user: str,
wallet: str,
lnurl_toggle: str,
wallet: Optional[str] = None,
animation1: Optional[str] = None,
animation2: Optional[str] = None,
animation3: Optional[str] = None,
@@ -37,6 +38,7 @@ async def create_copilot(
INSERT INTO copilots (
id,
user,
lnurl_toggle,
wallet,
title,
animation1,
@@ -54,11 +56,12 @@ async def create_copilot(
lnurl_title,
amount_made
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
copilot_id,
user,
lnurl_toggle,
wallet,
title,
animation1,