chore: code clean-up

This commit is contained in:
Vlad Stan 2023-03-17 18:01:34 +02:00
parent 53fc0c62f9
commit 1e14aa9974
2 changed files with 1 additions and 5 deletions

View file

@ -273,8 +273,6 @@ async def _handle_dirrect_message(
async def _handle_new_order(order: PartialOrder) -> Optional[str]:
### todo: check that event_id not parsed already
order.validate_order()
first_product_id = order.items[0].product_id