feat: show stall list table

This commit is contained in:
Vlad Stan 2023-03-02 11:46:46 +02:00
parent c0dce31231
commit ac02337ad3
4 changed files with 114 additions and 71 deletions

View file

@ -141,7 +141,7 @@ async def get_stall(user_id: str, stall_id: str) -> Optional[Stall]:
async def get_stalls(user_id: str) -> List[Stall]:
rows = await db.fetchone(
rows = await db.fetchall(
"SELECT * FROM nostrmarket.stalls WHERE user_id = ?",
(user_id,),
)