We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd6133 commit 3f399bcCopy full SHA for 3f399bc
src/allocation/service_layer/messagebus.py
@@ -63,7 +63,10 @@ def handle_command(
63
64
65
EVENT_HANDLERS = {
66
- events.Allocated: [handlers.publish_allocated_event],
+ events.Allocated: [
67
+ handlers.publish_allocated_event,
68
+ handlers.add_allocation_to_read_model,
69
+ ],
70
events.OutOfStock: [handlers.send_out_of_stock_notification],
71
} # type: Dict[Type[events.Event], List[Callable]]
72
0 commit comments