fixing vlad's review comments

This commit is contained in:
Tiago Vasconcelos 2023-03-09 10:00:55 +00:00
parent cf12ee9287
commit f9fc52ac52
5 changed files with 63 additions and 73 deletions

View file

@ -23,18 +23,8 @@ async def index(request: Request, user: User = Depends(check_user_exists)):
@nostrmarket_ext.get("/market", response_class=HTMLResponse)
async def market(
request: Request,
stall_id: str = Query(None),
product_id: str = Query(None),
merchant_pubkey: str = Query(None),
):
async def market(request: Request):
return nostrmarket_renderer().TemplateResponse(
"nostrmarket/market.html",
{
"request": request,
"stall_id": stall_id,
"product_id": product_id,
"merchant_pubkey": merchant_pubkey,
},
{"request": request},
)