Skip to content

Commit

Permalink
send name on create charge
Browse files Browse the repository at this point in the history
  • Loading branch information
talvasconcelos committed Oct 19, 2023
1 parent cbd5dbb commit 1b030a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async def create_charge(
INSERT INTO satspay.charges (
id,
"user",
name,
description,
onchainwallet,
onchainaddress,
Expand All @@ -59,11 +60,12 @@ async def create_charge(
extra,
custom_css
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
charge_id,
user,
data.name,
data.description,
data.onchainwallet,
onchainaddress,
Expand Down

0 comments on commit 1b030a1

Please sign in to comment.