fixing vlad's review comments
This commit is contained in:
parent
cf12ee9287
commit
f9fc52ac52
5 changed files with 63 additions and 73 deletions
14
views.py
14
views.py
|
|
@ -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},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue