fix: create invoice for fresh merchant
This commit is contained in:
parent
eb01b3ab34
commit
6498f1aa96
6 changed files with 42 additions and 19 deletions
2
crud.py
2
crud.py
|
|
@ -73,7 +73,7 @@ async def get_merchant_for_user(user_id: str) -> Optional[Merchant]:
|
|||
return Merchant.from_row(row) if row else None
|
||||
|
||||
|
||||
async def delete_merchants(merchant_id: str) -> None:
|
||||
async def delete_merchant(merchant_id: str) -> None:
|
||||
await db.execute(
|
||||
"DELETE FROM nostrmarket.merchants WHERE id = ?",
|
||||
(merchant_id,),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue