diff --git a/events/bp/tickets/routes.py b/events/bp/tickets/routes.py index 30bab2a..a7497b9 100644 --- a/events/bp/tickets/routes.py +++ b/events/bp/tickets/routes.py @@ -286,6 +286,10 @@ def register() -> Blueprint: ticket_type_id=tt.id, ) + # Commit so cart's callback to events sees the updated tickets + await g.tx.commit() + g.tx = await g.s.begin() + # Compute cart count for OOB mini-cart update from shared.infrastructure.data_client import fetch_data from shared.contracts.dtos import CartSummaryDTO, dto_from_dict