fix: SQL syntax
This commit is contained in:
@@ -54,7 +54,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
|
|||||||
amount,
|
amount,
|
||||||
balance,
|
balance,
|
||||||
extra,
|
extra,
|
||||||
custom_css,
|
custom_css
|
||||||
)
|
)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||||
""",
|
""",
|
||||||
@@ -74,7 +74,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
|
|||||||
data.amount,
|
data.amount,
|
||||||
0,
|
0,
|
||||||
data.extra,
|
data.extra,
|
||||||
data.custom_css,
|
data.custom_css
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
return await get_charge(charge_id)
|
return await get_charge(charge_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user