fix: SQL syntax
This commit is contained in:
parent
431bfd6c09
commit
c1890d4b4c
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue