Skip to content

Commit

Permalink
bug: currency is not persisted (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
dni authored Aug 30, 2024
1 parent 5c57c9e commit be438da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ async def create_charge(
fasttrack,
balance,
extra,
custom_css
custom_css,
currency,
currency_amount
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
charge_id,
Expand All @@ -82,6 +84,8 @@ async def create_charge(
0,
data.extra,
data.custom_css,
data.currency,
data.currency_amount,
),
)
charge = await get_charge(charge_id)
Expand Down

0 comments on commit be438da

Please sign in to comment.