fix: create invoice for fresh merchant

This commit is contained in:
Vlad Stan 2023-03-15 23:08:37 +02:00
parent eb01b3ab34
commit 6498f1aa96
6 changed files with 42 additions and 19 deletions

View file

@ -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,),