fix: SQL syntax

This commit is contained in:
Vlad Stan 2022-11-28 16:11:05 +02:00 committed by dni ⚡
parent 431bfd6c09
commit c1890d4b4c

View file

@ -54,7 +54,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
amount,
balance,
extra,
custom_css,
custom_css
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
@ -74,7 +74,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
data.amount,
0,
data.extra,
data.custom_css,
data.custom_css
),
)
return await get_charge(charge_id)