feat: show orders per stall
This commit is contained in:
parent
b446629707
commit
40c25ad085
10 changed files with 255 additions and 29 deletions
3
tasks.py
3
tasks.py
|
|
@ -127,9 +127,6 @@ async def handle_new_order(order: PartialOrder):
|
|||
### check that event_id not parsed already
|
||||
|
||||
order.validate_order()
|
||||
assert (
|
||||
len(order.items) != 0
|
||||
), f"Order has no items. Order: '{order.id}' ({order.event_id})"
|
||||
|
||||
first_product_id = order.items[0].product_id
|
||||
wallet_id = await get_wallet_for_product(first_product_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue