This commit is contained in:
Tiago vasconcelos 2022-09-12 10:21:17 +01:00
parent 108e2f579d
commit 6ef7411999

View file

@ -32,13 +32,6 @@ async def index(request: Request, user: User = Depends(check_user_exists)):
@diagonalley_ext.get("/{stall_id}", response_class=HTMLResponse)
async def display(request: Request, stall_id):
# test_qty = 10
# test = [
# {"product_id": "55vpVjWAuQExHsJxT28MYe", "quantity": test_qty},
# {"product_id": "f2eGNsEWgbLJbfAApd3Jw5", "quantity": test_qty},
# {"product_id": "FVqZLZdemWCsiqe9gafvsC", "quantity": test_qty},
# ]
# await update_diagonalley_product_stock(test)
stall = await get_diagonalley_stall(stall_id)
products = await get_diagonalley_products(stall_id)
zones = []